rules_fuzzing icon indicating copy to clipboard operation
rules_fuzzing copied to clipboard

Supplying arguments to jazzer

Open r00tdaemon opened this issue 3 years ago • 1 comments

How can we supply fuzzer args like -use_value_profile=1 to java_fuzz_test?

r00tdaemon avatar May 12 '22 07:05 r00tdaemon

The engine-agnostic launcher doesn't support passing through fuzzer-specific flags atm, but in order to run e.g. the target //examples/java:FuzzTest, you could try:

bazel run //examples/java:FuzzTest_bin -- -use_value_profile=1

Note the _bin which exposes the "raw" fuzz target rather.

fmeum avatar May 12 '22 08:05 fmeum