-
Notifications
You must be signed in to change notification settings - Fork 46
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 fuzzers for parsers #160
Comments
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
Otherwise, we'll panic due to dividing by 0. (Found by honggfuzz) Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
The multiplication can overflow. (Found by honggfuzz) Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
This initially includes fuzzers for the AVB and boot image parsers. The initial input corpus are the same test files we use for the round trip tests. Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
This initially includes fuzzers for the AVB and boot image parsers. The initial input corpus are the same test files we use for the round trip tests. Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
This initially includes fuzzers for the AVB and boot image parsers. The initial input corpus are the same test files we use for the round trip tests. Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
This initially includes fuzzers for the AVB and boot image parsers. The initial input corpus are the same test files we use for the round trip tests. Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
This initially includes fuzzers for the AVB and boot image parsers. The initial input corpus are the same test files we use for the round trip tests. Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
This initially includes fuzzers for the AVB and boot image parsers. The initial input corpus are the same test files we use for the round trip tests. Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
Otherwise, we'll panic due to dividing by 0. (Found by honggfuzz) Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
The multiplication can overflow. (Found by honggfuzz) Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 27, 2023
(Found by honggfuzz) Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong
added a commit
that referenced
this issue
Sep 28, 2023
Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
This was referenced Sep 28, 2023
Merged
chenxiaolong
added a commit
that referenced
this issue
Sep 28, 2023
Issue: #160 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All of avbroot's parsers are memory-safe, but there can still be logic issues that lead to a panic/crash. From preliminary testing with honggfuzz, I've already found one crash in the boot image parser caused by dividing by zero.
I plan to add fuzz tests for most of avbroot's parsers.
The text was updated successfully, but these errors were encountered: