| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | LIBFUZZER_SRC_DIR=$(dirnamescip-shell system . . dirname. $0) |
| 3 | CXX="${CXX:-clang}" |
| 4 | for f in $LIBFUZZER_SRC_DIR/*.cpp; do |
| 5 | $CXX -g -O2 -fno-omit-frame-pointer -std=c++17 $f -c & |
| 6 | done |
| 7 | wait |
| 8 | rmscip-shell system . . rm. -f libFuzzer.a |
| 9 | arscip-shell system . . ar. r libFuzzer.a Fuzzer*.o |
| 10 | rmscip-shell system . . rm. -f Fuzzer*.o |
| 11 |