Repository navigation
Conversation
Pair each harness with its corpus in one CMake registration. Build and replay every registered pair from the existing fuzz_replay target, after the decoder check. Verified fixed-input replay on Python 3.15 with GIL and free-threaded, native libFuzzer/AddressSanitizer linking and replay, and a disposable two-target check that propagates a replay failure. Repository lint passed. Assisted-by: Codex:GPT-6.2-Sol
Collaborator
Author
|
Hi @arthurscchan, I’ve pulled the shared CMake and corpus replay wiring from your four harness PRs (#6317, #6318, #6319, and #6320) into this standalone PR. Could you please take a look? Once it lands, each harness can register its executable and corpus for CI replay with a single CMake call. In parallel, could you address the Ubuntu Python 3.15 build failures? All four jobs hit the same GCC warnings under |
This branch has not been deployed
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.
— codex GPT-6.2-Sol on behalf of Ralf —
Description
PRs #6317, #6318, #6319, and #6320 each propose another harness executable. The current
fuzz_replaytarget only runs the original harness. This extracts the common CMake wiring so that each follow-up can register its executable and corpus in one call.Each registration adds a build dependency and a replay command to the existing
fuzz_replaytarget. That target checks the original decoder and runs each registered harness on its own checked-in inputs. This PR registers onlypybind_fuzzerwith its existing corpus and documents how to add another pair.Local validation passed with Python 3.15.2, both with GIL and free-threaded, and with Clang/libFuzzer/AddressSanitizer replay of the checked-in inputs. A temporary two-target CMake fixture confirmed that both targets replay in order and that a failure in the second fails the aggregate target. All lint hooks passed.