Sign in
llvm
/
libfuzzer
/
6de5e3442d9768da0954c238df70ee351b2dbe24
/
.
/
build.sh
blob: f58fd9557ce3d5c0a670d88c54911f08f51efa03 [
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
++
17
$f
-
c
&
done
wait
rm
-
f libFuzzer
.
a
ar r libFuzzer
.
a
Fuzzer
*.
o
rm
-
f
Fuzzer
*.
o