Skip to content

cpython3: enable building of more modules#14954

Draft
AdamKorcz wants to merge 1 commit intogoogle:masterfrom
AdamKorcz:python-modules
Draft

cpython3: enable building of more modules#14954
AdamKorcz wants to merge 1 commit intogoogle:masterfrom
AdamKorcz:python-modules

Conversation

@AdamKorcz
Copy link
Copy Markdown
Collaborator

I am preparing a set of fuzzers for cpython's modules. Currently, the build.sh file does not build and link many of the cpython modules. This PR adds more modules to the cpython OSS-Fuzz build in preparation of fuzzing them.

@ammaraskar @alex @gpshead for info

Signed-off-by: Adam Korczynski <adam@adalogics.com>
@ammaraskar
Copy link
Copy Markdown
Contributor

Does oss-fuzz require the entire project to be built as one static binary? I'm a little hesitant to complicate the build process away too much from standard python-config provided flags since it risks breaking with upstream build system changes.

Could I see a draft PR of the follow-up fuzzers you have? Maybe they might be better suited to live in https://github.com/python/library-fuzzers instead of the ones in the core interpreter which are mostly meant to exercise the C-api.

@AdamKorcz
Copy link
Copy Markdown
Collaborator Author

I have created a PR with my current Module fuzzers here: python/library-fuzzers#8.

This PR with the changes to cpython3's build is not fully up to date so I am converting to draft.

@AdamKorcz AdamKorcz marked this pull request as draft February 18, 2026 21:32
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