mkdir in out
mkdir in/config_queue in/input_queue
echo a=1 > in/config_queue/test
echo aaaaaa > in/input_queue/test
./afl-fuzz -i in -o out -d ./test out/.cur_config
- Include "argv-fuzz-inl.h".
- Put
AFL_INIT_ARGV()
at the beginning ofmain
function. - Same as the usage above.