File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ Here we will be fuzzing [re2]. During this lesson we will:
1010tar xzf re2.tgz
1111cd re2
1212
13- export FUZZ_CXXFLAGS="-O2 -fno-omit-frame-pointer -g -fsanitize=address \
14- -fsanitize-coverage=trace-pc-guard,trace- cmp,trace-gep,trace-div"
13+ export FUZZ_CXXFLAGS="-O2 -fno-omit-frame-pointer -g -fsanitize=address,fuzzer-no-link \
14+ -fsanitize-coverage=trace-cmp,trace-gep,trace-div"
1515
1616make clean
1717CXX=clang++ CXXFLAGS="$FUZZ_CXXFLAGS" make -j
@@ -22,8 +22,9 @@ CXX=clang++ CXXFLAGS="$FUZZ_CXXFLAGS" make -j
2222``` bash
2323cd ..
2424
25- clang++ -std=c++11 re2_fuzzer.cc $FUZZ_CXXFLAGS -I re2 \
26- re2/obj/libre2.a ../../libFuzzer/libFuzzer.a -lz \
25+ clang++ -std=c++11 re2_fuzzer.cc -O2 -fno-omit-frame-pointer -g -fsanitize=address,fuzzer \
26+ -fsanitize-coverage=trace-cmp,trace-gep,trace-div -I re2 \
27+ re2/obj/libre2.a -lz \
2728 -o re2_fuzzer
2829
2930mkdir corpus1
You can’t perform that action at this time.
0 commit comments