Skip to content

Commit aac6f1c

Browse files
cdf: add parser for more reliable results (#804)
* tests: keep CDF based formats grouped. That way they are easier to target in benchmarks.
1 parent 540fca6 commit aac6f1c

6 files changed

Lines changed: 1499 additions & 20 deletions

File tree

‎.github/workflows/fuzz.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
key: fuzz-${{ runner.os }}-${{ github.run_id }}
3333
restore-keys: |
3434
fuzz-${{ runner.os }}-
35-
# 3m is chosen so that half of the 2000 free CI minutes offered by Github
35+
# 2m is chosen so that half of the 2000 free CI minutes offered by Github
3636
# will be used each month. The other half is reserved for tests in PRs.
3737
# TODO: Find a way to select all fuzz tests, without listing them individually.
3838
- run: go test -fuzztime=2m -fuzz=Mimetype ./

‎.golangci.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ linters:
77
exclusions:
88
presets:
99
- std-error-handling
10+
rules:
11+
# Test fixtures construct CDF binary blobs from known small constants, so
12+
# gosec's integer-overflow checks (G115) add no value there.
13+
- path: internal/cdf/cdf_test\.go
14+
linters:
15+
- gosec
1016
enable:
1117
- gosec # Detects security problems.
1218
# Keep all extras disabled for now to focus on the integer overflow problem.

0 commit comments

Comments
 (0)