Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
Fixes https://github.com/google/oss-fuzz/issues/6926.
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
|