Skip to content
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

Adds basic libfuzzer harness #1029

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

nathaniel-brough
Copy link

This harness simply mounts and unmounts a ramdisk
that is populated by fuzzed data. This fuzz harness tests that littlefs is able to safely attempt to
mount a corrupted storage device.

@geky
Copy link
Member

geky commented Oct 3, 2024

Just a quick note about the CI failures, you'll need to rebase/retarget onto the devel branch for things to work correctly.

GitHub made a breaking change to their APIs somewhat recently and it's made things a bit of a mess.

@nathaniel-brough
Copy link
Author

Just a quick note about the CI failures, you'll need to rebase/retarget onto the devel branch for things to work correctly.

Done

This harness simply mounts and unmounts a ramdisk
that is populated by fuzzed data. This fuzz harness
tests that littlefs is able to safely attempt to
mount a corrupted storage device.
@geky-bot
Copy link
Collaborator

geky-bot commented Oct 4, 2024

Tests passed ✓, Code: 17064 B, Stack: 1440 B, Structs: 812 B
Code Stack Structs Coverage
Default 17064 B 1440 B 812 B Lines 2394/2574 lines
Readonly 6194 B 448 B 812 B Branches 1245/1584 branches
Threadsafe 17924 B 1440 B 820 B Benchmarks
Multiversion 17124 B 1440 B 816 B Readed 29369693876 B
Migrate 18760 B 1744 B 816 B Proged 1482874766 B
Error-asserts 17748 B 1432 B 812 B Erased 1568888832 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants