Skip to content

Commit

Permalink
[skip ci] Add optimization to fuzzing
Browse files Browse the repository at this point in the history
  • Loading branch information
red0124 committed Mar 3, 2024
1 parent bf89d9e commit d5d944e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fuzz/makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d5d944e

Please sign in to comment.