Skip to content

Commit 8f005a0

Browse files
committed
add fuzz coverage script
Signed-off-by: Prabhat Verma <[email protected]>
1 parent 7b45811 commit 8f005a0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

contrib/generate_fuzz_coverage.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
set -e
3+
set -x
4+
5+
cd fuzz
6+
export RUSTFLAGS="--cfg=fuzzing --cfg=secp256k1_fuzz --cfg=hashes_fuzz"
7+
# ignore anything in fuzz directory since we done want coverage of targets
8+
cargo llvm-cov --html --ignore-filename-regex "fuzz/"
9+
10+

0 commit comments

Comments
 (0)