diff --git a/KubeArmor/fuzz/build.sh b/KubeArmor/fuzz/build.sh new file mode 100644 index 000000000..071647306 --- /dev/null +++ b/KubeArmor/fuzz/build.sh @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2024 Authors of KubeArmor +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 +