Skip to content
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

Add cmplog #31

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

Add cmplog #31

wants to merge 2 commits into from

Conversation

dotCirill
Copy link

This is cmplog realization for unicorn-afl.

CMPCOV will be turned on when UNICORN_AFL_CMPCOV env exists (now it is turned off by default).
CMPLOG will be turned on when __AFL_CMPLOG_SHM_ID env exists.

I've tested this code for ARM32 firmware (unicorn version should be >= 2.1.2) with LibAFL.
AFL++ should be patched a little bit to allow cmplog with -U option.

@dotCirill dotCirill changed the title Add cmplog realization (afl++-style) Add cmplog Feb 16, 2025
@vanhauser-thc
Copy link
Member

@wtdcode wdyt?

@wtdcode
Copy link
Collaborator

wtdcode commented Feb 17, 2025

@wtdcode wdyt?

Spare me a few days as I need to get 2.1.3 out. We broken a few distributions unfortunately. I will be back to polish unicornafl.

The implementation itself looks good at first glance since the relevant support was just accepted by Unicorn a few weeks ago but I need to review a bit more.

@dotCirill dotCirill marked this pull request as ready for review February 17, 2025 18:26
@dotCirill
Copy link
Author

For testing with AFL++ https://github.com/dotCirill/AFLplusplus/tree/unicornafl_cmplog can be used

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.

3 participants