Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/fuzz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ jobs:
env:
FUZZ_TIME: ${{ inputs.fuzz_time || '30s' }}
run: |
go test -parallel=1 -timeout 0 -fuzz="${{ matrix.target.test }}" -fuzztime="${FUZZ_TIME}" "${{ matrix.target.package }}"
go test -parallel=1 -timeout 0 -fuzz="^${{ matrix.target.test }}$" -fuzztime="${FUZZ_TIME}" "${{ matrix.target.package }}"
4 changes: 2 additions & 2 deletions pkg/compile/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
// Go's 100MB fuzzer shared memory capacity and avoid OOM in parsers.
const maxFuzzSize = 10 * 1024 * 1024

// FuzzRemoveRules tests the removeRules function with random inputs.
func FuzzRemoveRules(f *testing.F) {
// FuzzRemoveRulesExact tests the removeRules function with random inputs.
func FuzzRemoveRulesExact(f *testing.F) {
for _, root := range getAllRuleFS() {
err := fs.WalkDir(root, ".", func(path string, d fs.DirEntry, err error) error {
if err != nil || d.IsDir() {
Expand Down