Skip to content

OSS-Fuzz: Add new fuzzer/corpus targets classes handling - #6318

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

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

Conversation

@arthurscchan

Copy link
Copy Markdown
Contributor

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

  • #6318, classes. The wrong-type case calls Box.add, which fails at attribute lookup before bound argument conversion. The downcast case constructs a Derived directly and checks its type. I’d ask for one seed that passes an incompatible value to an existing bound method and one that returns a Derived through a Base pointer. Also declare the C++14 requirement from std::make_unique or use C++11-compatible construction. Wrong-type case · Downcast case

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