Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hardik05 opened this issue Jan 23, 2025 · 1 comment

Comments

@hardik05
Copy link

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.

@GJDuck
Copy link
Owner

GJDuck commented Jan 23, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants