-
Notifications
You must be signed in to change notification settings - Fork 74
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
Fuzz mode as documented in https://github.com/google/fuzztest/blob/main/doc/quickstart-cmake.md doesn't work #1022
Comments
I only run into this if I compile without: My CMakeLists.txt
Fails with:
export ASAN_OPTIONS=detect_odr_violation=0 This helps: but than I have to: and than back at your problem |
@arvid-norlander did you manage to get it working with cmake? |
I could get it working in compatibility mode with libfuzzer. |
I managed to get it working partially, but it was really finicky and didn't work well with the rest of our cmake build system ("backend" is a terrible name in anything that has a global namespace for names, neither fuzztest nor our code should be using it!). So I did a short test, but never anything that got incorporated into our CI. I never got the continuous fuzzing mode working at all. I'm more likely to look at other solutions in the future than this project. It seems to be the typical google "dump code as FOSS, but don't make it well documented or work well and ignore all outside bugs and contributions". Don't really see what google is getting out of that to be honest. |
I followed https://github.com/google/fuzztest/blob/main/doc/quickstart-cmake.md exactly. When I tried with
-DFUZZTEST_FUZZING_MODE=on
it turns out it doesn't actually work:Digging into the code it appears that this depends on something called "centipede" for which there is no code in the Cmake build system, only the bazel one seems to have support
The text was updated successfully, but these errors were encountered: