mirror of
https://github.com/TokTok/c-toxcore
synced 2026-05-26 07:34:23 +00:00
19 lines
666 B
Bash
Executable File
19 lines
666 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux -o pipefail
|
|
|
|
WORKSPACE_ROOT=$(bazel info workspace)
|
|
|
|
cd "$WORKSPACE_ROOT"
|
|
|
|
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"
|