-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fuzz target #1773
Add fuzz target #1773
Conversation
This commit places the basics for libFuzzer integration with one fuzzer which fuzzes the readMetadata function. The fuzzer is located at fuzz/read-metadata. To add more fuzzers please add them to ./fuzz directory as described in the README. Also a memory corruption bug is found using this fuzzer which might lead to additional bugs after fix is pushed.
Codecov Report
@@ Coverage Diff @@
## main #1773 +/- ##
==========================================
+ Coverage 67.29% 67.37% +0.07%
==========================================
Files 151 151
Lines 20799 20807 +8
==========================================
+ Hits 13997 14018 +21
+ Misses 6802 6789 -13
Continue to review full report at Codecov.
|
Not sure why the new action isn't showing up in the list of checks. I expect it will be shown there once the PR is merged. So I ran it on my own fork to make sure it's working: https://github.com/kevinbackhouse/exiv2/runs/3047928525 |
This resurrects #945 by @yevgenypats, which added a libFuzzer target. That commit doesn't seem to have been merged into the new
main
branch.printStructure
andwriteMetadata
printf
s that were spamming the logs