onekey-sec / unblob

Extract files from any kind of container formats
https://unblob.org
Other
2.14k stars 81 forks source link

add search_chunks fuzzing with atheris #722

Closed qkaiser closed 7 months ago

qkaiser commented 7 months ago

oss-fuzz recommends project maintainers to place their fuzzing harness into their project repository.

This is an optimized fuzzing harness to test search_chunks by creating an mmap'ed File from the bytes received by the fuzzer and submitting it to search_chunks.

Other fuzzing harness can be added to the fuzzing directory later on and they will be executed by oss-fuzz.

This is what I plan to submit to oss-fuzz: https://github.com/google/oss-fuzz/compare/master...qkaiser:oss-fuzz:unblob