-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
initial support for integrated fuzzing #20725
Merged
Commits on Jul 22, 2024
-
initial support for integrated fuzzing
* Add the `-ffuzz` and `-fno-fuzz` CLI arguments. * Detect fuzz testing flags from zig cc. * Set the correct clang flags when fuzz testing is requested. It can be combined with TSAN and UBSAN. * Compilation: build fuzzer library when needed which is currently an empty zig file. * Add optforfuzzing to every function in the llvm backend for modules that have requested fuzzing. * In ZigLLVMTargetMachineEmitToFile, add the optimization passes for sanitizer coverage. * std.mem.eql uses a naive implementation optimized for fuzzing when builtin.fuzz is true. Tracked by #20702
Configuration menu - View commit details
-
Copy full SHA for 54b7e14 - Browse repository at this point
Copy the full SHA 54b7e14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1741b82 - Browse repository at this point
Copy the full SHA 1741b82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7802cf9 - Browse repository at this point
Copy the full SHA 7802cf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9225ae - Browse repository at this point
Copy the full SHA b9225aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7930efc - Browse repository at this point
Copy the full SHA 7930efcView commit details -
add new builtin:
@disableInstrumentation
This is needed to ensure that start code does not try to access thread local storage before it has set up thread local storage.
Configuration menu - View commit details
-
Copy full SHA for 2519881 - Browse repository at this point
Copy the full SHA 2519881View commit details -
update start code to use
@disableInstrumentation
This prevents it from trying to access thread local storage before it has set up thread local storage, particularly when code coverage instrumentation is enabled.
Configuration menu - View commit details
-
Copy full SHA for bde8c4a - Browse repository at this point
Copy the full SHA bde8c4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 105b91d - Browse repository at this point
Copy the full SHA 105b91dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbbe2f1 - Browse repository at this point
Copy the full SHA dbbe2f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for af7b671 - Browse repository at this point
Copy the full SHA af7b671View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae09f9b - Browse repository at this point
Copy the full SHA ae09f9bView commit details -
Compilation: fix regression in addCCArgs
`-fno-sanitize=function` must come after `-fsanitize=undefined` or it has no effect.
Configuration menu - View commit details
-
Copy full SHA for 1cb9948 - Browse repository at this point
Copy the full SHA 1cb9948View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61ad1be - Browse repository at this point
Copy the full SHA 61ad1beView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.