Skip to content

Add fuzzer for binascii module#32

Merged
sethmlarson merged 2 commits intopython:mainfrom
AdamKorcz:add-binascii-fuzzer
Apr 22, 2026
Merged

Add fuzzer for binascii module#32
sethmlarson merged 2 commits intopython:mainfrom
AdamKorcz:add-binascii-fuzzer

Conversation

@AdamKorcz
Copy link
Copy Markdown
Contributor

@AdamKorcz AdamKorcz commented Apr 10, 2026

Add a structured fuzzer for the binascii C module (Modules/binascii.c). It exercises encode and decode paths for base64, hex, uuencode, and quoted-printable codecs, as well as CRC32 and CRC-HQX checksums and hexlify/unhexlify roundtrips.

@AdamKorcz AdamKorcz requested a review from a team as a code owner April 10, 2026 19:53
@AdamKorcz AdamKorcz marked this pull request as draft April 10, 2026 21:27
@AdamKorcz AdamKorcz marked this pull request as draft April 10, 2026 21:27
@AdamKorcz AdamKorcz marked this pull request as draft April 10, 2026 21:27
@AdamKorcz AdamKorcz force-pushed the add-binascii-fuzzer branch from 14ae89c to ff8681f Compare April 11, 2026 21:00
@AdamKorcz AdamKorcz marked this pull request as ready for review April 11, 2026 21:01
@AdamKorcz AdamKorcz marked this pull request as draft April 11, 2026 21:02
@AdamKorcz AdamKorcz marked this pull request as ready for review April 22, 2026 20:12
@sethmlarson sethmlarson merged commit a7e2ec1 into python:main Apr 22, 2026
3 checks passed
Comment thread Makefile
fuzzer-zoneinfo:
clang++ $(CXXFLAGS) $(LIB_FUZZING_ENGINE) -std=c++17 fuzzer.cpp -DPYTHON_HARNESS_PATH="\"zoneinfo.py\"" -ldl $(LDFLAGS) -o fuzzer-zoneinfo

fuzzer-binascii:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to sort these alphabetically.

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.

3 participants