Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump fuzztest. #2087

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
vrabaud marked this conversation as resolved.
Show resolved Hide resolved
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment to link to google/fuzztest#1125.

sed -i 's/set(GTEST_HAS_ABSL ON)/set(GTEST_HAS_ABSL OFF)/g' ./cmake/BuildDependencies.cmake
vrabaud marked this conversation as resolved.
Show resolved Hide resolved

: # 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
Loading