I've been trying to figure out how to configure the fuzzing duration dynamically for tests using Jazzer's JUnit integration.
I found:
-
The JUnit Integration documentation doesn't mention fuzzing duration at all.
-
The @FuzzTest annotation supports a maxDuration parameter, but it seems to only accept static strings.
-
It appears to be possible to thread a duration down to libFuzzer via jazzer.internal.arg properties, but the name internal suggests that those are not intended to be user-facing. 😅
Is there a supported API for specifying a fuzz duration dynamically? If not, can one be added?
I've been trying to figure out how to configure the fuzzing duration dynamically for tests using Jazzer's JUnit integration.
I found:
The JUnit Integration documentation doesn't mention fuzzing duration at all.
The
@FuzzTestannotation supports amaxDurationparameter, but it seems to only accept static strings.It appears to be possible to thread a duration down to
libFuzzerviajazzer.internal.argproperties, but the nameinternalsuggests that those are not intended to be user-facing. 😅Is there a supported API for specifying a fuzz duration dynamically? If not, can one be added?