Skip to content

OSS-Fuzz: Add new fuzzer/corpus targets type casting - #6317

Open
arthurscchan wants to merge 2 commits into
pybind:masterfrom
arthurscchan:pybind11-cast-fuzzer
Open

arthurscchan wants to merge 2 commits into
pybind:masterfrom
arthurscchan:pybind11-cast-fuzzer

Conversation

@arthurscchan

Copy link
Copy Markdown
Contributor

This PR creates a new OSS-Fuzz fuzzer with corpus targets type casting, together with google/oss-fuzz#16655 to enable a new fuzzer with corpus for improving the overall fuzzing coverage and effectiveness of project pybind11.

@rwgk

rwgk commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

In addition to what I wrote under #6331 (comment):

  • #6317, type casting. The standalone driver calls the callback directly, and the committed integer seed reaches Python APIs before CastEnv initializes the interpreter. Fix that before wiring up replay. The optional/variant opcode also has no handler, and the set/pair/tuple branch starts by casting a Python list to std::set, which the caster rejects before the pair or tuple code can run. Declare the target’s C++17 requirement explicitly. Initialization · Container dispatch

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants