You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 in LLVMFuzzerTestOneInput.
Yes, this is known, but as you pointed out, the user code can hang in initializers, in LLVMFuzzerInitialize() and, in case it's not a persistent binary, but the one using HF_ITER in its main().
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 LLVMFuzzerInitialize()
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: