aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar Fabian Meumertzheim <meumertzheim@code-intelligence.com>2021-06-10 16:57:42 +0200
committerGravatar GitHub <noreply@github.com>2021-06-10 07:57:42 -0700
commit73d78b88790b501f119801c4f68463180b76e1d9 (patch)
tree37444da53b933846777119b23b2719f3e2b456dc /docs
parenta44547d8d6f78ad7ce02323ecc33382a1d628e39 (diff)
[infra][jvm] Add Jazzer UBSan support (#5898)
* [infra][jvm] Add Jazzer UBSan support * [java-example] Reenable and plant UB * [docs] Mention support for Java UBSan in docs Also adds a link to the java-example build.sh to the docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/getting-started/new-project-guide/jvm_lang.md9
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 9cc3ef3e..74130cb6 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