mirror of
https://github.com/red0124/ssp.git
synced 2025-04-20 10:37:57 +02:00
[skip ci] Add optimization to fuzzing
This commit is contained in:
parent
bf89d9ee3c
commit
d5d944ee64
@ -1,8 +1,11 @@
|
||||
BIN=ssp_fuzz
|
||||
OPT_BIN=opt_ssp_fuzz
|
||||
SRC=ssp_fuzz.cpp
|
||||
|
||||
all:
|
||||
${CXX} ${SRC} -fsanitize=fuzzer -std=c++17 -o ${BIN}
|
||||
${CXX} ${SRC} -fsanitize=fuzzer -std=c++17 -O2 -o ${OPT_BIN}
|
||||
|
||||
run:
|
||||
./${BIN} -max_total_time=600
|
||||
./${BIN} -max_total_time=300
|
||||
./${OPT_BIN} -max_total_time=300
|
||||
|
Loading…
Reference in New Issue
Block a user