Skip to content

libraries/schedfuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schedfuzz

run fuzz

# Install component and tools (require rust nightly)
$ rustup component add llvm-tools-preview --toolchain nightly
$ cargo install cargo-binutils
$ cargo install rustfilt

# Run fuzz: fuzz_tx_consistency
$ cargo +nightly fuzz run -j$(nproc) fuzz_tx_consistency

# Generate coverage report
$ cargo +nightly fuzz coverage fuzz_tx_consistency
$ cargo +nightly cov -- show target/x86_64-unknown-linux-gnu/coverage/x86_64-unknown-linux-gnu/release/fuzz_tx_consistency --Xdemangler=rustfilt --format=html -instr-profile=fuzz/coverage/fuzz_tx_consistency/coverage.profdata --line-coverage-gt=1 --name=ckb_script > res/report.html

update corpus

After running any fuzzing tests, all corpus should be compacted via:

$ cargo +nightly fuzz cmin fuzz_tx_consistency

Then commit the corpus changes for future use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published