参考资料

官网readme

部署

AFL

cd afl-2.52b

make

sudo make install

设置内核

准备测试源码

test.c

gcc编译

gcc test.c -o afl_test

./test

开始Fuzz

./afl-fuzz -i testcases/ -o test/aflfast_result -- ./test/test_aflgcc @@

对从文件中获取输入的程序来说,要用"@@"代替从文件中获取到的输入

./afl-fuzz -i

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bec316a0-b9c9-4c48-8b30-5eb1ff8834bb/_2020-04-26_4.31.21.png