diff options
Diffstat (limited to 'docs/getting-started/new-project-guide/jvm_lang.md')
-rw-r--r-- | docs/getting-started/new-project-guide/jvm_lang.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/getting-started/new-project-guide/jvm_lang.md b/docs/getting-started/new-project-guide/jvm_lang.md index 9cc3ef3e9..74130cb62 100644 --- a/docs/getting-started/new-project-guide/jvm_lang.md +++ b/docs/getting-started/new-project-guide/jvm_lang.md @@ -50,8 +50,9 @@ language: jvm ``` The only supported fuzzing engine is libFuzzer (`libfuzzer`). So far the only -supported sanitizer is AddressSanitizer (`address`), which needs to be -specified explicitly even for pure Java projects. +supported sanitizers are AddressSanitizer (`address`) and +UndefinedBehaviorSanitizer (`undefined`). For pure Java projects, specify +just `address`: ```yaml fuzzing_engines: @@ -141,6 +142,10 @@ LD_LIBRARY_PATH=\"$JVM_LD_LIBRARY_PATH\":\$this_dir \ done ``` +The [java-example](https://github.com/google/oss-fuzz/blob/master/projects/java-example/build.sh) +project contains an example of a `build.sh` for Java projects with native +libraries. + ## FuzzedDataProvider Jazzer provides a `FuzzedDataProvider` that can simplify the task of creating a |