Sign in
cobalt
/
cobalt
/
1bdf8b5470dc937a8c92ce7e2f6d3392c6a1180c
/
.
/
third_party
/
llvm-project
/
compiler-rt
/
lib
/
fuzzer
/
build.sh
blob: 504e54e3a819ee85fdfaf00b6c2d14979a76461f [
file
] [
log
] [
blame
]
#!/bin/sh
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