diff --git a/README.md b/README.md index 2cc63f5..ec3a76c 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![coverage](https://coveralls.io/repos/github/red0124/ssp/badge.svg?branch=master)](https://coveralls.io/github/red0124/ssp?branch=master) +[![fuzz](https://github.com/red0124/ssp/workflows/fuzz-ci/badge.svg)](https://github.com/red0124/ssp/actions/workflows/fuzz.yml) [![single-header](https://github.com/red0124/ssp/workflows/single-header-ci/badge.svg)](https://github.com/red0124/ssp/actions/workflows/single-header.yml) [![ubuntu-latest-gcc](https://github.com/red0124/ssp/workflows/ubuntu-latest-gcc-ci/badge.svg)](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-gcc.yml) [![ubuntu-latest-clang](https://github.com/red0124/ssp/workflows/ubuntu-latest-clang-ci/badge.svg)](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-clang.yml) diff --git a/fuzz/makefile b/fuzz/makefile index 22816bc..0017842 100644 --- a/fuzz/makefile +++ b/fuzz/makefile @@ -5,4 +5,4 @@ all: ${CXX} ${SRC} -fsanitize=fuzzer -std=c++17 -o ${BIN} run: - ./${BIN} -max_total_time=300 + ./${BIN} -max_total_time=600 diff --git a/fuzz/ssp_fuzz.cpp b/fuzz/ssp_fuzz.cpp index 8972ab3..478a0af 100644 --- a/fuzz/ssp_fuzz.cpp +++ b/fuzz/ssp_fuzz.cpp @@ -77,9 +77,5 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { test_ssp(data, size); test_ssp(data, size); - if (size > 10) { - throw "..."; - } - return 0; }