srlabs / ziggy

A multi-fuzzer management utility for all of your Rust fuzzing needs 🧑‍🎤
Apache License 2.0
59 stars 6 forks source link

Add new flag to pass arguments directly to AFL++ #84

Closed louismerlin closed 7 months ago

louismerlin commented 7 months ago

The --afl-flags flag (-a for short) takes as an input any flag you would like to give to AFL++ directly.

Rationale

Sometimes, users want to pass custom flags to AFL++, to enable experimental features for examples.

Example

cargo ziggy fuzz -G 43 -a-G42

This command will place the second -G (with value 42) later in the list of arguments to AFL++, which will result in 42 being used for the biggest input size.

Closes #81.

vanhauser-thc commented 7 months ago

this can only pass one parameter, correct? So I cannot do either -a -arg1 -a -arg2 nor -a "-arg1 -arg2" right? As it is it is good enough, might be good enhancement at some later point though. thanks!

louismerlin commented 7 months ago

Hmm good point