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

Improve documentation to discourage non-zero returncodes #12955

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

phi-go
Copy link
Contributor

@phi-go phi-go commented Jan 21, 2025

This PR adds a small documentation change to discourage the use of non-zero return values.

Based on this issue #11983, Honggfuzz does not support other return values, while libFuzzer, in my opinion unexpectedly, discards inputs for return values other than zero which can cause creation of faulty harnesses. As a result I think it is fair to discourage all uses of non-zero return values from LLVMFuzzerTestOneInput.

@DonggeLiu
Copy link
Contributor

Thanks!

@DonggeLiu DonggeLiu merged commit 7e8d53b into google:master Jan 27, 2025
15 checks passed
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

Successfully merging this pull request may close these issues.

2 participants