Skip to content

Commit

Permalink
Bump fuzztest. (#2087)
Browse files Browse the repository at this point in the history
BUG=oss-fuzz:66560
  • Loading branch information
vrabaud authored Apr 9, 2024
1 parent d074bae commit 30adc11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ext/fuzztest.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@

git clone https://github.com/google/fuzztest.git
cd fuzztest
: # There is no tagged release as of 2024/02/23. Pick the last commit that works.
git checkout b39227cb001a46ed007fa37e40507d777652ede9
: # There is no tagged release as of 2024/04/09. Pick the latest commit that works.
git checkout a990537097b6fd337436f7662fb39fc91fa01f3f
sed -i 's/-fsanitize=address//g' ./cmake/FuzzTestFlagSetup.cmake
sed -i 's/-DADDRESS_SANITIZER//g' ./cmake/FuzzTestFlagSetup.cmake
sed -i 's/if (IsEnginePlaceholderInput(data)) return;/if (data.size() == 0) return;/g' ./fuzztest/internal/compatibility_mode.cc
sed -i 's/set(GTEST_HAS_ABSL ON)/set(GTEST_HAS_ABSL OFF)/g' ./cmake/BuildDependencies.cmake

: # fuzztest is built by the main CMake project through add_subdirectory as recommended at:
: # https://github.com/google/fuzztest/blob/main/doc/quickstart-cmake.md

0 comments on commit 30adc11

Please sign in to comment.