Skip to content

Commit

Permalink
infra: compile: fix jvm introspector builds (#10623)
Browse files Browse the repository at this point in the history
Ref:
#10481 (comment)

Java projects are currently failing Fuzz Introspector following
#10538

```bash
Step #6 - "compile-libfuzzer-introspector-x86_64": ---------------------------------------------------------------
Step #6 - "compile-libfuzzer-introspector-x86_64": chmod: cannot access '/workspace/out/libfuzzer-introspector-x86_64/jazzer_driver_with_sanitizer': No such file or directory
Step #6 - "compile-libfuzzer-introspector-x86_64": ********************************************************************************
```

There is a missing "introspector" conditional in
https://github.com/google/oss-fuzz/blob/6922c8c1ac27c9a459ce41201991e296a6bace54/infra/base-images/base-builder/compile#L152-L171

This causes line 171 to fail.

It may be convenient to search for "jvm" in the table here
https://introspector.oss-fuzz.com/indexing-overview which will show the
introspector build status is red for all.
  • Loading branch information
DavidKorczynski authored Jul 6, 2023
1 parent 70f9fae commit fa5ec3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/base-images/base-builder/compile
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ EOF
this_dir=$(dirname "$0")
"$this_dir/jazzer_driver" --ubsan "$@"
EOF
elif [ "$SANITIZER" = "coverage" ]; then
# Coverage builds require no instrumentation.
elif [ "$SANITIZER" = "coverage" ] || [ "$SANITIZER" = "introspector" ]; then
# Coverage & introspector builds require no instrumentation.
cp $(which jazzer_driver) $jazzer_driver_with_sanitizer
fi
chmod +x $jazzer_driver_with_sanitizer
Expand Down

0 comments on commit fa5ec3a

Please sign in to comment.