From a33f94a9f86009dcd7e40613492181dc7e07b343 Mon Sep 17 00:00:00 2001 From: ado Date: Sun, 3 Mar 2024 01:57:44 +0100 Subject: [PATCH] [skip ci] Try to fix fuzz ci --- .github/workflows/fuzz.yml | 2 +- .gitignore | 1 + fuzz/makefile | 8 +++++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 54b3ba4..4a174c4 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -54,4 +54,4 @@ jobs: - name: Run working-directory: fuzz - run: ssp_fuzz -max_total_time=30 + run: make run diff --git a/.gitignore b/.gitignore index eb880af..a9c39ac 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ build/ hbuild/ subprojects/* !subprojects/*.wrap +fuzz/ssp_fuzz diff --git a/fuzz/makefile b/fuzz/makefile index 6634846..d1c1adc 100644 --- a/fuzz/makefile +++ b/fuzz/makefile @@ -1,2 +1,8 @@ +BIN=ssp_fuzz +SRC=ssp_fuzz.cpp + all: - clang++ -std=c++17 -o ssp_fuzz ssp_fuzz.cpp -g -fsanitize=fuzzer + ${CXX} ${CXXFLAGS} ${SRC} -fsanitize=fuzzer -std=c++17 -o ${BIN} + +run: + ./${BIN} -max_total_time=30