Skip to content

Pyppd: fuzz_parse.py: add instrumentation#32

Merged
fish98 merged 9 commits intoOpenPrinting:mainfrom
mdimado:pyppd-init
Aug 26, 2025
Merged

Pyppd: fuzz_parse.py: add instrumentation#32
fish98 merged 9 commits intoOpenPrinting:mainfrom
mdimado:pyppd-init

Conversation

@mdimado
Copy link
Copy Markdown
Contributor

@mdimado mdimado commented Aug 26, 2025

added atheris.instrument_all() for instrumenting functions for the fuzz_parse fuzzer
increased coverage from: 0 to 136

before:

#2      INITED exec/s: 0 rss: 57Mb
WARNING: no interesting inputs were found so far. Is the code instrumented for coverage?
This may also happen if the target rejected all inputs we tried so far
#262144 pulse  corp: 1/1b lim: 2611 exec/s: 131072 rss: 80Mb
#524288 pulse  corp: 1/1b lim: 4096 exec/s: 104857 rss: 80Mb

after:

#51081  REDUCE cov: 136 ft: 184 corp: 13/2571b lim: 522 exec/s: 12770 rss: 107Mb L: 142/345 MS: 1 EraseBytes-
#52129  REDUCE cov: 136 ft: 184 corp: 13/2570b lim: 531 exec/s: 10425 rss: 107Mb L: 141/345 MS: 3 ShuffleBytes-PersAutoDict-EraseBytes- DE: "\377\377\377\377"-
#54805  REDUCE cov: 136 ft: 184 corp: 13/2553b lim: 549 exec/s: 10961 rss: 107Mb L: 328/328 MS: 1 EraseBytes-
#55451  REDUCE cov: 136 ft: 184 corp: 13/2552b lim: 549 exec/s: 11090 rss: 107Mb L: 196/328 MS: 1 EraseBytes-

@fish98 fish98 merged commit 581717a into OpenPrinting:main Aug 26, 2025
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