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

fuzz: improve bolt11 target #6805

Merged
merged 4 commits into from Oct 24, 2023

Conversation

morehouse
Copy link
Contributor

The main contribution of this PR is a crossover mutator for @dergoegge's bolt11 fuzz target.

With the new mutator and the previous improvements to the target, we were able to add over 2k new interesting inputs to the corpus.

This prevents a buffer overflow in the custom mutator that can occur
when data_maxlen is 0.
These can be used in custom mutators for libFuzzer targets.
This mutator helped the fuzzer find new coverage and detect the bug
fixed in 87f4907.
Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

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

Ack cddfdcf

@rustyrussell rustyrussell merged commit a59a855 into ElementsProject:master Oct 24, 2023
33 of 38 checks passed
@morehouse morehouse deleted the fuzz_bolt11_crossover branch October 24, 2023 14:30
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