[skip ci] Try failing fuzz

This commit is contained in:
ado 2024-03-03 02:27:32 +01:00
parent 6b924533a0
commit 70f141181c

View File

@ -69,10 +69,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
using trim = ss::trim<' ', '\t'>; using trim = ss::trim<' ', '\t'>;
using multiline_r = ss::multiline_restricted<5>; using multiline_r = ss::multiline_restricted<5>;
if (size == 1234) {
throw "...";
}
test_ssp<>(data, size); test_ssp<>(data, size);
test_ssp<escape>(data, size); test_ssp<escape>(data, size);
test_ssp<quote>(data, size); test_ssp<quote>(data, size);
@ -81,5 +77,9 @@ 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>(data, size);
test_ssp<escape, quote, multiline_r, trim, ss::ignore_empty>(data, size); test_ssp<escape, quote, multiline_r, trim, ss::ignore_empty>(data, size);
if (size > 1000) {
throw "...";
}
return 0; return 0;
} }