mirror of
https://github.com/red0124/ssp.git
synced 2025-04-20 10:37:57 +02:00
[skip ci] Restore ssp_fuzz.cpp, update fuzzing duration, add fuzz bedge to README
This commit is contained in:
parent
f3ce1bcb72
commit
bf89d9ee3c
@ -9,6 +9,7 @@
|
||||
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://coveralls.io/github/red0124/ssp?branch=master)
|
||||
[](https://github.com/red0124/ssp/actions/workflows/fuzz.yml)
|
||||
[](https://github.com/red0124/ssp/actions/workflows/single-header.yml)
|
||||
[](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-gcc.yml)
|
||||
[](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-clang.yml)
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user