This repository was archived by the owner on Mar 22, 2024. It is now read-only.

Description
My program takes multiple inputs at different stages. I pass the inputs via file. The file(say inputfile.data) contents look as below format example.
123
root/abc.xml
0
15 12 0 0 22 33 11
345
7890
Example execution of my program:
./myprog < inputfile.data
Now when I tried to fuzz my program I copied the inputfile.data into the inputs directory and ran below command
afl-fuzz -i inputs -o testprog -m none -- ./myprog < @@
When I looked into the generated inputs, I think AFL is taking only the first line of inputfile.data i.e 123 from above example.
How can I make AFL to consider all the inputs in the file in order to fuzz my program ?
Is it possible to skip few inputs from file(say root/abc.xml from above example) and consider only other inputs of inputfile.data ?
Please help.
Thanks