Skip to content

OSS-Fuzz: Add new fuzzer/corpus targets interpreter - #6319

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

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

Conversation

@arthurscchan

Copy link
Copy Markdown
Contributor

This PR creates a new OSS-Fuzz fuzzer with corpus targets interpreter, 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):

  • #6319, interpreter and GIL. The output operation redirects a C++ stream, then calls py::print, which writes through Python. Write through the redirected C++ stream and check the captured output. The eval operations also share __main__ across inputs, so earlier inputs can change how later ones behave. I’d use fixed short programs with fuzzed values and fresh namespaces, plus a private temporary file for the eval_file case. Eval operations · Output operation

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