aboutsummaryrefslogtreecommitdiff
path: root/examples/src/main/java/com/example/JpegImageParserFuzzer.java
AgeCommit message (Collapse)Author
2022-03-03Verify the precise exception reproduced by a reproducerFabian Meumertzheim
New and existing verifications performed by the FuzzTargetTestWrapper are now only done if JAZZER_CI is set. This keeps the tests that do double duty as examples clean when executed by users, but still maximizes their test coverage. Developers can specify --config=ci to benefit from these extended checks.
2022-01-11Honor JAVA_OPTSFabian Meumertzheim
The only mechanism to specify JVM arguments currently supported by Jazzer is the --jvm_args argument, which has a syntax that differs between OSes and may require shell quoting. This commit makes Jazzer honor the JAVA_OPTS environment variable, which is used by many popular Java tools to specify arguments to the JVMs they invoke.
2021-11-30Ensure that escapes are honored by fork and mergeFabian Meumertzheim
Fixes https://github.com/google/oss-fuzz/issues/6926.
2021-06-01Add additional_jvm_args flagFabian Meumertzheim
In certain situations, such as OSS-Fuzz coverage reports, additional JVM args need to be specified on the command line after --jvm_args has already been used. Specifying --jvm_args again overrides the previous arguments rather than appending to them. This commit adds an additional flag for adding JVM args that will be emitted after the flags specified in --jvm_args.
2021-05-28Remove leftover commentFabian Meumertzheim
2021-05-27Pass quoted arguments to child processesFabian Meumertzheim
libFuzzer does not quote the arguments it passes to child processes during merge and fork, which leads to arguments being lost if passing multiple jvm_args with delimiter ';'. This commit adds a libFuzzer patch that properly quotes all arguments as well as a test that fails if quoting is not appropriate.
2021-02-24Make fuzzerTestOneInput voidFabian Meumertzheim
Java assertion errors are impossible to deduplicate and easily replaced by an assert or a check and a custom exception. This commit makes both variants of fuzzerTestOneInput void methods and adds a note about this change to the respective error message.
2021-02-09Initial commitFabian Meumertzheim