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
--timeout times out during LLVMFuzzerInitialize #384
Comments
Yes, this is known, but as you pointed out, the user code can hang in initializers, in I'll think about it, because it's doable, but in case I add it, I'll probably have to have 2 timeouts, one for initialization, and one for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LLVMFuzzerInitialize
can be used to initialize deterministic, but expensive global state, which is later used by the target read-only.However,
--timeout
starts counting inside the init function, thus killing the process before any actual fuzzing can be made. I think the solution would be to only start counting inLLVMFuzzerTestOneInput
.Steps to reproduce:
The text was updated successfully, but these errors were encountered: