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

Wrong command line flag used for initial corpus directory #93

Open
cailloumajor opened this issue Dec 5, 2024 · 0 comments
Open

Wrong command line flag used for initial corpus directory #93

cailloumajor opened this issue Dec 5, 2024 · 0 comments

Comments

@cailloumajor
Copy link

Hello,

If I understand correctly, cargo hfuzz passes the following argument to hongfuzz binary:

"-f",
&honggfuzz_input,

But I can't find the -f flag anywhere in https://github.com/google/honggfuzz/blob/348a47213919f14b9453e89a663b1515369bd9a2/docs/USAGE.md. In the doc, the flag used to indicate the path to the initial input corpus directory is -i.

Moreover, IMO a default value being the input sub-directory in the fuzzing workspace should not be provided, because hongfuzz already uses it for its generated input corpus files, so it is not suitable for user-provided files.

I would be happy to submit a PR if needed.

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

1 participant