From bfaf00a34484ec48764ac732835bdfc172531031 Mon Sep 17 00:00:00 2001 From: prady0t Date: Thu, 17 Oct 2024 23:52:56 +0530 Subject: [PATCH] Config file for oss-fuzz integration Signed-off-by: prady0t --- KubeArmor/fuzz/build.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 KubeArmor/fuzz/build.sh diff --git a/KubeArmor/fuzz/build.sh b/KubeArmor/fuzz/build.sh new file mode 100644 index 000000000..833b1bbd5 --- /dev/null +++ b/KubeArmor/fuzz/build.sh @@ -0,0 +1,5 @@ +printf "package transform\nimport _ \"github.com/AdamKorcz/go-118-fuzz-build/testing\"\n" > $SRC/KubeArmor/KubeArmor/register.go +go mod tidy +compile_native_go_fuzzer github.com/kubearmor/KubeArmor/KubeArmor/core FuzzContainerPolicy FuzzContainerPolicy +compile_native_go_fuzzer github.com/kubearmor/KubeArmor/KubeArmor/core FuzzHostPolicy FuzzHostPolicy +