I am testing a pdf viewer mupdf using AFL.
My steps are as follows:
cd afl-2.52b
make
sudo make install
export CC=/afl-2.52b/afl-gcc
cd mupdf
make
afl-fuzz -i in -o out /mupdf/build/release/mupdf-x11 @@
The result is that only when the pdf file size of my test case is less than 1KB, can the test run normally. When the pdf file is larger than 1KB or even 800b or 900b, you will be prompted
“PROGRAM ABORT : Test case 'id:000002,orig:1.pdf' results in a timeout
Location : perform_ dry_ run(), afl-fuzz.c:2777”
This is true even if I increase - t and - m.
What is the problem? Is there a problem with my test steps or other aspects
Please help me