File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -59,17 +59,11 @@ mv libhtp suricata/
59
59
cd suricata
60
60
sh autogen.sh
61
61
# run configure with right options
62
- if [ " $SANITIZER " = " coverage " ]
62
+ if [ " $SANITIZER " = " address " ]
63
63
then
64
- export RUSTFLAGS=" $RUSTFLAGS -C debug-assertions=no"
65
- ./configure --disable-shared --enable-fuzztargets --enable-debug
66
- else
67
- if [ " $SANITIZER " = " address" ]
68
- then
69
- export RUSTFLAGS=" $RUSTFLAGS -Cpasses=sancov -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-trace-compares -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-trace-geps -Cllvm-args=-sanitizer-coverage-prune-blocks=0 -Cllvm-args=-sanitizer-coverage-pc-table -Clink-dead-code -Cllvm-args=-sanitizer-coverage-stack-depth"
70
- fi
71
- ./src/tests/fuzz/oss-fuzz-configure.sh
64
+ export RUSTFLAGS=" $RUSTFLAGS -Cpasses=sancov -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-trace-compares -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-trace-geps -Cllvm-args=-sanitizer-coverage-prune-blocks=0 -Cllvm-args=-sanitizer-coverage-pc-table -Clink-dead-code -Cllvm-args=-sanitizer-coverage-stack-depth"
72
65
fi
66
+ ./src/tests/fuzz/oss-fuzz-configure.sh
73
67
make -j$( nproc)
74
68
75
69
cp src/fuzz_* $OUT /
You can’t perform that action at this time.
0 commit comments