RRFuzz icon indicating copy to clipboard operation
RRFuzz copied to clipboard

failed to read PCAP header from "/media/test/Data/EnvFuzz/out/RECORD.pcap.gz": Invalid argument

Open hardik05 opened this issue 11 months ago • 1 comments

Hi,

Thanks for your work, i am trying this tool and getting following error when trying to fuzz: failed to read PCAP header from "/media/test/Data/EnvFuzz/out/RECORD.pcap.gz": Invalid argument

any idea how to troubleshoot it? it seems that the file size is RECORD.pcap.gz is only 20 bytes and i am guessing its not able to record the state.

hardik05 avatar Jan 23 '25 06:01 hardik05

Yes, it probably means the recording failed for some reason. You can try:

        $ ./env-fuzz record --log=3 -- prog [arg ...]

This should print a log of the all the syscalls executed, and may provide some clue as to the problem.

You can also try running in GDB:

        $ ./env-fuzz record --log=3 -d -- prog [arg ...]

EnvFuzz is a complex tool, so can be hit-and-miss. If you post more details then I may be able to help.

GJDuck avatar Jan 23 '25 07:01 GJDuck