Update vendored LibFuzzer to LLVM 22.x release#139
Open
rchildre3 wants to merge 1 commit intorust-fuzz:mainfrom
Open
Update vendored LibFuzzer to LLVM 22.x release#139rchildre3 wants to merge 1 commit intorust-fuzz:mainfrom
rchildre3 wants to merge 1 commit intorust-fuzz:mainfrom
Conversation
Last this was updated for the 20.x release. The changes in only the 21.x release is largely uninteresting for LibFuzzer. Just skip to the 22.x release. Specifically: * Tag: `llvmorg-22.1.0-rc2` * Commit: `a47b42eb9f9b302167b4fc413e6c92798d65dd0b` Major changes: * Fix out-of-sync Modules and ModulePCTable arrays when handling empty instrumented modules * Add `SIGTRAP` Handler to LibFuzzer's runtime, specifically for Swift's FatalError * Rework `StartRssThread` to fix deadlocks on Fuchsia * Address typos and various type castings to address static analysis warnings Full commit log: `git log --format=ref release/20.x..release/22.x -- 'compiler-rt/lib/fuzzer/'` ``` 9d18e92ee78c ([compiler-rt] Add CMake option to enable execute-only code generation on AArch64 (#140555), 2025-11-07) be6c5d066379 ([NFC] [compiler-rt] fix typos (#160803), 2025-09-27) b928695c2fb8 ([compiler-rt] fix typos (#160799), 2025-09-26) 3f52e97df77a (Fix libFuzzer array alignment with empty modules (#159661), 2025-09-18) 46fd8d0db2f7 (Reapply "[NFC] Fix CodeQL violations in compiler-rt. (#157793)" (#157913) (#159097), 2025-09-16) 8062b166762b (Revert "[NFC] Fix CodeQL violations in compiler-rt. (#157793)" (#157913), 2025-09-10) b44e6e01f7f7 ([NFC] Fix CodeQL violations in compiler-rt. (#157793), 2025-09-10) 316004764fe3 ([fuzzer][Fuchsia] Forward fix for undefined StartRssThread (#155514), 2025-08-26) 7153392a1089 (Reapply "[fuzzer][Fuchsia] Prevent deadlock from suspending threads" … (#155271), 2025-08-25) 781a4db6b50b (Revert "[fuzzer][Fuchsia] Prevent deadlock from suspending threads" (#155042), 2025-08-22) b9987503d2ed ([fuzzer][Fuchsia] Prevent deadlock from suspending threads (#154854), 2025-08-22) 03372c7782e6 (Revert "[libFuzzer] always install signal handler with SA_ONSTACK" (#153114), 2025-08-12) aee4f2baccdb ([libFuzzer] always install signal handler with SA_ONSTACK (#147422), 2025-08-09) 33cc58f46f0c ([compiler-rt][libFuzzer] Add support for capturing SIGTRAP exits. (#149120), 2025-07-28) f7cdff7bddcb ([compiler-rt] Include missing headers for libFuzzer (#146828), 2025-07-10) 7b6963ea672f ([compiler-rt] [Fuzzer] Fix tests linking buildbot failure (#144495), 2025-06-19) 6f4add34801e ([compiler-rt] [Fuzzer] Fix ARMv7 test link failure by linking unwinder (#144495), 2025-06-18) cd573e0a547d ([compiler-rt] Remove unused local variables (NFC) (#144010), 2025-06-12) ```
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.
Last this was updated for the 20.x release. The changes in only the 21.x release is largely uninteresting for LibFuzzer. Just skip to the 22.x release.
Specifically:
llvmorg-22.1.0-rc2a47b42eb9f9b302167b4fc413e6c92798d65dd0bMajor changes:
SIGTRAPHandler to LibFuzzer's runtime, specifically for Swift's FatalErrorStartRssThreadto fix deadlocks on FuchsiaFull commit log:
git log --format=ref release/20.x..release/22.x -- 'compiler-rt/lib/fuzzer/'