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

Work around a race condition where multiple AFL instances bind to the same CPU #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anon8675309
Copy link

This is the same issue @genewitch found and I can confirm it is also a problem on 64-core machines as well. The issue is that multiple instances of AFL will bind to the the same core. To see this in action:
head -n 25 $OUTPUT_DIR/$TARGET/*/afl-launch.log | grep binding | sort

I also did some experimentation and a 100 ms delay still resulted in two threads binding to CPU #0, but a 250 ms delay seems to reliably avoid any CPU contention.

…e multiple instances of AFL will lock onto the same CPU.
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.

2 participants