Skip to content

fuzz: improve bolt11 target#6805

Merged
rustyrussell merged 4 commits intoElementsProject:masterfrom
morehouse:fuzz_bolt11_crossover
Oct 24, 2023
Merged

fuzz: improve bolt11 target#6805
rustyrussell merged 4 commits intoElementsProject:masterfrom
morehouse:fuzz_bolt11_crossover

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
@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.

2 participants