Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 703 Bytes

File metadata and controls

33 lines (25 loc) · 703 Bytes

Unsafe usage

...

Run fuzz testing

cd fuzz/data_block
mkdir in
cat /dev/random | head -n 100 > in/input
cargo afl build && cargo afl fuzz -i in -o out target/debug/data_block

cd fuzz/index_block
mkdir in
cat /dev/random | head -n 100 > in/input
cargo afl build && cargo afl fuzz -i in -o out target/debug/index_block

cd fuzz/table_read
mkdir in
cat /dev/random | head -n 100 > in/input
cargo afl build && cargo afl fuzz -i in -o out target/debug/table_read

cd fuzz/compare_prefixed_slice
mkdir in
cat /dev/random | head -n 100 > in/input
cargo afl build && cargo afl fuzz -i in -o out target/debug/compare_prefixed_slice

Run mutation testing

cargo-mutants mutants