Skip to content

Add libvharness and InputSetter. Set coverage map from inside the VM. Refactor commands. #3366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

rmalmain
Copy link
Member

  • libvharness is a library to help making harnesses for libafl qemu more easily.
    there is a new feature to optionally compile nyx command stuff, it should avoid the mess with having both libafl qemu commands and nyx commands altogether we've seen in previous issues.

  • InputSetter is just an abstraction of how the input should be set in qemu. before, it was implemented as part of the command manager, so code reuse was not really possible.

  • SetMapCommand is a new command used to define coverage maps (including cmplog maps) from inside a VM. the main use case is when this gets coupled with something like KCOV. it makes it easier / more efficient to get the correct coverage compared with manual address filtering. the current implementation of KCOV is not enough to get this command working correctly, there is a linux patch to apply I'll try to push soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant