Skip to content

Adds basic libfuzzer harness - #1029

Open
nathaniel-brough wants to merge 1 commit into
littlefs-project:develfrom
nathaniel-brough:add_fuzzer
Open

Adds basic libfuzzer harness#1029
nathaniel-brough wants to merge 1 commit into
littlefs-project:develfrom
nathaniel-brough:add_fuzzer

Conversation

@nathaniel-brough

Copy link
Copy Markdown

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

geky commented Oct 3, 2024

Copy link
Copy Markdown
Member

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
nathaniel-brough changed the base branch from master to devel October 4, 2024 05:25
@nathaniel-brough

Copy link
Copy Markdown
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

geky-bot commented Oct 4, 2024

Copy link
Copy Markdown
Collaborator
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