serge1 / ELFIO

ELFIO - ELF (Executable and Linkable Format) reader and producer implemented as a header only C++ library
http://serge1.github.io/ELFIO
MIT License
706 stars 152 forks source link

ELFIO should have a libfuzzer base test #103

Closed Alan-Jowett closed 2 years ago

Alan-Jowett commented 2 years ago

libfuzzer is useful for finding bugs in parsers like ELFIO. Currently, this is being fuzzed in a project (https://github.com/microsoft/ebpf-for-windows) that is two repo's downstream. It might make sense to add a fuzz test to this repo to speed up finding and resolving any remaining bugs rather than waiting for changes to propagate downstream before being fuzzed.

serge1 commented 2 years ago

I think it is good idea. Thank you! I have no expirience working with this library, so, it is a good opportunity to learn it.

serge1 commented 2 years ago

libFuzzer test has been implemented. Level 1 (and, probably, Level 2) founded issues has been addressed. libFuzzer reached its plateau. I guess there are a lot of improvements for the tests can be added/implemented. But, for now, I am closing the issue as resolved. Let me know, or reopen the issue, if anything else raises in your environment.