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

afl v5 #1841

Closed
wants to merge 6 commits into
base: master
from

Conversation

1 participant
@inliniac
Member

inliniac commented Feb 8, 2016

Set of changes that makes fuzzing Suricata with AFL easier.

Prscript:

inliniac added some commits Dec 5, 2015

afl: add define to disable rand_r use
The randomness affects AFL. It creates variable test cases, which
we need to avoid.
afl: add define to disable mgt threads
The inherent non-deterministic nature of the management threads
creates variable test cases.
afl: special 'single' runmode
To avoid threading, this 'single' mode doesn't run in it's own thread
but instead runs in the main thread.
afl: add --afl-parse-rules to return 0 on any rule
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.
afl: optionally exit right after afl single runmode
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 added the preview label Feb 8, 2016

@inliniac inliniac referenced this pull request Apr 8, 2016

Closed

afl v28 #1990

@inliniac

This comment has been minimized.

Show comment
Hide comment
@inliniac

inliniac Apr 8, 2016

Member

Replaced by #1990

Member

inliniac commented Apr 8, 2016

Replaced by #1990

@inliniac inliniac closed this Apr 8, 2016

@inliniac inliniac deleted the dev-afl-v5 branch May 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment