[skip ci] Restore ssp_fuzz.cpp, update fuzzing duration, add fuzz bedge to README

This commit is contained in:
ado 2024-03-03 02:34:56 +01:00
parent f3ce1bcb72
commit bf89d9ee3c
3 changed files with 2 additions and 5 deletions

View File

@ -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)

View File

@ -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

View File

@ -77,9 +77,5 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
test_ssp<escape, quote, multiline_r, trim>(data, size);
test_ssp<escape, quote, multiline_r, trim, ss::ignore_empty>(data, size);
if (size > 10) {
throw "...";
}
return 0;
}