irrlicht/source/lib/json/tests/thirdparty/Fuzzer/build.sh

11 lines
213 B
Bash
Raw Normal View History

2023-11-26 07:31:01 +01:00
#!/bin/bash
LIBFUZZER_SRC_DIR=$(dirname $0)
for f in $LIBFUZZER_SRC_DIR/*.cpp; do
clang -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c &
done
wait
rm -f libFuzzer.a
ar ru libFuzzer.a Fuzzer*.o
rm -f Fuzzer*.o