Update vendored LibFuzzer to LLVM 20.x release#132
Merged
fitzgen merged 1 commit intorust-fuzz:mainfrom Jul 3, 2025
Merged
Conversation
Specifically: * Tag: `llvmorg-20.1.7` * Commit: `6146a88f60492b520a36f8f8f3231e15f3cc6082` Major changes: * Clarified behavior of `-max_len` option * Avoid UBSan faults in LibFuzzer by guarding `memcpy()` calls to check for valid size argument * Fix building LibFuzzer with `clang-cl` * Thread name setting logic for Fuchsia and Windows Full commit log: `git log --format=ref release/19.x..release/20.x -- 'compiler-rt/lib/fuzzer/'` ``` 091741a880c2 ([libfuzzer] Clarify -max_len behavior on bigger files (#123095), 2025-01-23) f9125ddc1faa (Revert "[libfuzzer] use timer_create() instead of setitimer() for linux" (#115811), 2024-11-11) 3b29a8a00809 ([libfuzzer] use timer_create() instead of setitimer() for linux (#110274), 2024-11-12) 5082acce4fd3 ([compiler-rt] Add custom libc++ workaround for CMake < 3.26, 2024-11-10) 87f4bc0acad6 ([compiler-rt] [fuzzer] Skip trying to set the thread name on MinGW (#115167), 2024-11-07) e7bad34475e2 ([compiler-rt] Use installed libc++(abi) for tests instead of build tree, 2024-11-06) a6fdfefbd04d ([compiler-rt] Include stdlib.h for exit() (#115025), 2024-11-05) d54953ef472b ([fuzzer] fix clang-cl build fuzzer lit test failure (#112339), 2024-10-17) b4130bee6bfd (Fix libFuzzer not building with pthreads on Windows (#109525), 2024-09-24) b32dc677325c (Revert "[compiler-rt][fuzzer] SetThreadName build fix for Mingwin attempt (#106902)", 2024-09-02) 7c4cffd9d8be ([compiler-rt][fuzzer] SetThreadName build fix for Mingwin attempt (#106902), 2024-09-01) f47966b1de45 ([compiler-rt] Reland "SetThreadName implementation for Fuchsia" (#105179), 2024-08-21) ddaa8284f5b4 (Revert "[compiler-rt][fuzzer] implements SetThreadName for fuchsia." (#105162), 2024-08-20) 31cc4ccdea92 ([compiler-rt][fuzzer] implements SetThreadName for fuchsia. (#99953), 2024-08-20) bde4ffe75214 (Don't pass null pointers to memcmp and memcpy in libFuzzer (#96775), 2024-08-13) 7202fe582931 ([compiler-rt] Silence warnings, 2024-08-11) ```
1308707 to
f128213
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Specifically:
llvmorg-20.1.76146a88f60492b520a36f8f8f3231e15f3cc6082Major changes:
Clarified behavior of
-max_lenoptionAvoid UBSan faults in LibFuzzer by guarding
memcpy()calls to check for valid size argumentFix building LibFuzzer with
clang-clThread name setting logic for Fuchsia and Windows
Full commit log:
git log --format=ref release/19.x..release/20.x -- 'compiler-rt/lib/fuzzer/'