mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
[skip ci] Restore ssp_fuzz.cpp, update fuzzing duration, add fuzz bedge to README
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user