-
Notifications
You must be signed in to change notification settings - Fork 0
[WIP] Weighted random seed selection #5
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
Conversation
|
@jiradeto Thanks a lot! I left some comments. |
|
@wuestholz Thank you very much for your reviews. I addressed all the comments above and I think this PR is ready for evaluation. What do you think? |
|
@jiradeto Great! Thanks! Yeah, lets give this a try. :) |
|
@wuestholz, the fuzzbench result of the 20-hour fuzzing is now available: |
|
The next configuration:
if (!q->was_fuzzed) {
w *= 1.0;
} |
|
@jiradeto Based on the experiments, it looks like 1.0 is better. Let's change that and add a comment that documents that we went from 5.0 (based on original probabilities in AFL) to 1.0. |
|
Close this PR because it's implemented in #6. |
@wuestholz, this PR adds new input selection mechanism that randomly picks inputs to fuzz based on the weight of inputs.
In AFL the fuzzed inputs are not saved in array but instead a linked list so there is no convenient way to maintain the index of inputs in the queue. This PR adds a new array that keeps track of all inputs so far in the queue.