Skip to content

afl v5 - #1841

Closed
inliniac wants to merge 6 commits into
masterfrom
dev-afl-v5
Closed

afl v5#1841
inliniac wants to merge 6 commits into
masterfrom
dev-afl-v5

Conversation

@inliniac

@inliniac inliniac commented Feb 8, 2016

Copy link
Copy Markdown

Set of changes that makes fuzzing Suricata with AFL easier.

Prscript:

The randomness affects AFL. It creates variable test cases, which
we need to avoid.
The inherent non-deterministic nature of the management threads
creates variable test cases.
To avoid threading, this 'single' mode doesn't run in it's own thread
but instead runs in the main thread.
When fuzzing, AFL will create lots of malformed rules. We don't want
to error out on those. As we're fuzzing the parser any non-crash
should return 0. Crashes (ASAN or not) will return a non-0 code.
Exit right away if afl.exit_after_pcap is set to true. Safes time
as fuzzing the shutdown code may not be as interesting.
@inliniac inliniac mentioned this pull request Apr 8, 2016
@inliniac

inliniac commented Apr 8, 2016

Copy link
Copy Markdown
Author

Replaced by #1990

@inliniac inliniac closed this Apr 8, 2016
@inliniac
inliniac deleted the dev-afl-v5 branch May 20, 2016 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants