mirror of
https://github.com/lieff/minimp3.git
synced 2026-01-14 03:40:03 +00:00
8 lines
319 B
Bash
Executable File
8 lines
319 B
Bash
Executable File
_FILENAME=${0##*/}
|
|
CUR_DIR=${0/${_FILENAME}}
|
|
CUR_DIR=$(cd $(dirname ${CUR_DIR}); pwd)/$(basename ${CUR_DIR})/
|
|
|
|
pushd $CUR_DIR/..
|
|
|
|
clang-5.0 -g -fsanitize=address,undefined -fsanitize-coverage=trace-pc-guard -DLIBFUZZER -o minimp3_libfuzz minimp3_test.c -lFuzzer -lstdc++ -lm
|
|
./minimp3_libfuzz -max_len=1024 vectors/fuzz |