Skip to content

Commit

Permalink
Merge pull request #1877 from prady0t/oss-fuzz-build
Browse files Browse the repository at this point in the history
Config file for oss-fuzz integration
  • Loading branch information
daemon1024 authored Oct 23, 2024
2 parents 095188c + 1fcca62 commit 2273d81
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions KubeArmor/fuzz/build.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2273d81

Please sign in to comment.