From e929c348b11a1241e16a31aca5ad76a71a72ad7f Mon Sep 17 00:00:00 2001 From: AdamKorcz Date: Thu, 12 Jan 2023 22:00:45 +0000 Subject: [PATCH] fuzzing: add .options file Signed-off-by: AdamKorcz --- tests/fuzz-testdata/FuzzHelmProvenanceUnmarshal.options | 3 +++ tests/oss_fuzz.sh | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 tests/fuzz-testdata/FuzzHelmProvenanceUnmarshal.options diff --git a/tests/fuzz-testdata/FuzzHelmProvenanceUnmarshal.options b/tests/fuzz-testdata/FuzzHelmProvenanceUnmarshal.options new file mode 100644 index 000000000..6ccf0d403 --- /dev/null +++ b/tests/fuzz-testdata/FuzzHelmProvenanceUnmarshal.options @@ -0,0 +1,3 @@ +[libfuzzer] +max_len = 1500000 +len_control = 0 diff --git a/tests/oss_fuzz.sh b/tests/oss_fuzz.sh index df876fa32..cdb324880 100755 --- a/tests/oss_fuzz.sh +++ b/tests/oss_fuzz.sh @@ -46,3 +46,5 @@ compile_native_go_fuzzer github.com/sigstore/rekor/pkg/types/rpm/v0.0.1 FuzzRpmC compile_native_go_fuzzer github.com/sigstore/rekor/pkg/types/helm/v0.0.1 FuzzHelmCreateProposedEntry FuzzHelmCreateProposedEntry compile_native_go_fuzzer github.com/sigstore/rekor/pkg/types/helm/v0.0.1 FuzzHelmProvenanceUnmarshal FuzzHelmProvenanceUnmarshal compile_native_go_fuzzer github.com/sigstore/rekor/pkg/types/rekord/v0.0.1 FuzzRekordCreateProposedEntry FuzzRekordCreateProposedEntry + +cp $SRC/rekor/tests/fuzz-testdata/*.options $OUT/