468663ddbb
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
12 lines
232 B
Bash
Executable File
12 lines
232 B
Bash
Executable File
#!/bin/bash
|
|
LIBFUZZER_SRC_DIR=$(dirname $0)
|
|
CXX="${CXX:-clang}"
|
|
for f in $LIBFUZZER_SRC_DIR/*.cpp; do
|
|
$CXX -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
|
|
|