Skip to content

Specifying fuzzing duration dynamically #951

@bcmills

Description

@bcmills

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions