Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/util: Add ClusterfuzzLite #263

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
move and ignore fuzzers in codacy
  • Loading branch information
piksel committed Jul 30, 2022
commit 996a74e5d0381ebc73de2e34eb9c3a3a3905144f
2 changes: 1 addition & 1 deletion .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/binsh

compile_go_fuzzer github.com/containrrr/shoutrrr/pkg/util/fuzz FuzzPartitionMessage fuzz_partition_message
compile_go_fuzzer github.com/containrrr/shoutrrr/fuzz FuzzPartitionMessage fuzz_partition_message
3 changes: 3 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
exclude_paths:
- "fuzz/*"
6 changes: 2 additions & 4 deletions pkg/util/fuzz/fuzz.go → fuzz/partition_message.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//go:build gofuzz || cgo
// +build gofuzz cgo
// Note that the `cgo` above is a hack to prevent the file from being built in releases, but still
// included when checking for doc comments (lint)
//go:build gofuzz
// +build gofuzz

package fuzz

Expand Down