Skip to content

Add script to generate fuzz coverage#3718

Merged
TheBlueMatt merged 4 commits intolightningdevkit:mainfrom
Prabhat1308:pv/add_cov_script
Jul 14, 2025
Merged

Add script to generate fuzz coverage#3718
TheBlueMatt merged 4 commits intolightningdevkit:mainfrom
Prabhat1308:pv/add_cov_script

Conversation

@Prabhat1308
Copy link
Copy Markdown
Contributor

This script generates the fuzz coverage in a html file when run .

Considerations

  1. The script assumes a corpus directory in fuzz directory.
  2. Also assumes the corpus for a particular target to be under the name of the target itself. for eg - corpus for base32_target.rs would be under corpus/base32_target.
  3. The corpus I worked with was generated using libFuzzer it may/may not work with corpus generated from other fuzzers.

How to run

# from the root directory
chmod +x contrib/generate_fuzz_coverage.sh
contrib/generate_fuzz_coverage.sh

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

4 participants