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

feat(fuzz): Adds seed corpus for cdc and msc classes #1875

Merged
merged 1 commit into from Jan 30, 2023

Conversation

silvergasp
Copy link
Contributor

Describe the PR
Adds a seed corpus for the fuzzer based on real USB packets captured using wireshark.

Additional context
By default, a fuzzer will try to randomly search for inputs that increase code coverage. In some cases this can take a really long time for the fuzzer to "learn" the structure of a protocol. One approach to mitigate this problem is to give the fuzzer a good starting point, with valid inputs. To do this I've captured a bunch of USB packets using wireshark. To make adding to this corpus easier I've added a tool to parse wireshark captures and add them to the zip corpus.

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superb !! Thank you very much again.

@hathach hathach merged commit 778b62d into hathach:master Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants