Skip to content

Commit

Permalink
infra: bump jazzer to latest (#11625)
Browse files Browse the repository at this point in the history
Fixes: #11623

Ref: CodeIntelligenceTesting/jazzer#896

---------

Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski committed Feb 26, 2024
1 parent af21b88 commit 5fc5fed
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions infra/base-images/base-builder/install_java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,14 @@ cd $SRC/
git clone https://github.com/CodeIntelligenceTesting/jazzer && \
cd jazzer && \

git checkout b12d1ea863b336b120e192700ac11c9744af6cfd # v0.17.1
#git checkout b12132743b2c0d0def680512c0c4bcb052e20b1b # v0.22.1
# Latest fix followig a depedency issue: (https://github.com/CodeIntelligenceTesting/jazzer/issues/896)
git checkout 96205feebc7135075ffa48aae3f22e38cae5dc45
cat << 'EOF' >> .bazelrc
build --java_runtime_version=local_jdk_15
build --cxxopt=-stdlib=libc++
build --linkopt=-lc++
EOF

# Hotfix: https://github.com/google/oss-fuzz/issues/11613
sed -i 's/da607faed78c4cb5a5637ef74a36fdd2286f85ca5192222c4664efec2d529bb8/a0a45349bf5d57bbefe2669225cda802c5d9ab8ea412a5e683f52bdcf3f16c65/g' ./WORKSPACE.bazel
sed -i 's/bazel-toolchain-0.6.3/toolchains_llvm-0.6.3/g' ./WORKSPACE.bazel

bazel build //src/main/java/com/code_intelligence/jazzer:jazzer_standalone_deploy.jar //deploy:jazzer-api //launcher:jazzer
cp $(bazel cquery --output=files //src/main/java/com/code_intelligence/jazzer:jazzer_standalone_deploy.jar) /usr/local/bin/jazzer_agent_deploy.jar
cp $(bazel cquery --output=files //launcher:jazzer) /usr/local/bin/jazzer_driver
Expand Down

0 comments on commit 5fc5fed

Please sign in to comment.