mirror of
https://github.com/TokTok/c-toxcore
synced 2026-05-27 18:15:30 +00:00
4cea4f9ca4
fuzz_select_target wasn't selecting anything, so fuzzers using that function either did nothing or would only ever select one of the functions.
15 lines
592 B
Bash
Executable File
15 lines
592 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
bazel test --config=asan-libfuzzer //c-toxcore/testing/fuzzing:protodump_reduce_test
|
|
|
|
bazel build --config=asan-libfuzzer //c-toxcore/testing/fuzzing:protodump
|
|
bazel-bin/c-toxcore/testing/fuzzing/protodump | grep -v '^tox2'
|
|
|
|
bazel build --config=asan-libfuzzer //c-toxcore/testing/fuzzing:protodump_reduce_bin
|
|
bazel-bin/c-toxcore/testing/fuzzing/protodump_reduce_bin "$PWD/tools/toktok-fuzzer/init/e2e_fuzz_test.dat"
|
|
|
|
#export PROTODUMP_REDUCE=1
|
|
#bazel-bin/c-toxcore/testing/fuzzing/protodump_reduce_bin -minimize_crash=1 "$PWD/tools/toktok-fuzzer/init/e2e_fuzz_test.dat"
|