Closed aashays closed 2 years ago
@tklengyel I'm not sure if this can be done without adding the extra libxenlight dependency. I think there's value in seeing names inxl list
instead of (null). Especially when triaging crashing inputs manually. Please let me know what you think.
@aashays I agree, I've just been doing it with xl rename
manually. No issue with adding libxenlight as a dependency though, especially since this will make things a lot easier to track!
Uses libxenlight (new dependency) to rename sink and fuzzing forks. Names are derived from the (grand)parent VM but a user specified token (-G) will also be mixed in if specified. The usecase for -G is to be able to easily idendify VM forks when triaging a set of crashing inputs with --keep. fork's domid is used in place if -G is not specified.
Example VM names:
For kfx without -G: debian-1-sink-2 debian-1-fuzz-3
For kfx with -G id:000000: debian-1-sink-id:000000 debian-1-fuzz-id:000000
For forkvm: debian-1-forkvm-2