Skip to content

How to reproduce OOM failures when using FuzzedDataProvider #600

Answered by fmeum
centic9 asked this question in Q&A
Discussion options

You must be logged in to vote

We recommend using the JUnit 5 support to write your fuzz test. Even with OOM crashes, you can run and debug all collected crash-* files directly as regular parameterized unit test cases. Existing fuzz tests can be reused with essentially no changes (just add @FuzzTest and move them to a test class).

If that doesn't work, you can use the Jazzer replayer to run a given fuzz test class on a given crash-* file. We have deprecated it in favor of the JUnit approach, but it should continue to work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@centic9
Comment options

Answer selected by centic9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants