Skip to content

fuzzing plus staticcheck on CI - #4

Merged
m0wfo merged 1 commit into
masterfrom
fuzzing
Aug 10, 2026
Merged

m0wfo merged 1 commit into
masterfrom
fuzzing

Conversation

@m0wfo

@m0wfo m0wfo commented Aug 10, 2026

Copy link
Copy Markdown

Added 4 fuzz targets with seed corpora, plus a checkInvariants helper:

  • FuzzGetReturnsBackendAndDeterministic Get returns a real backend, same key → same result
  • FuzzAddRemoveRoundTrip remove + re-add a backend restores the exact mapping
  • FuzzSetOrderIndependent same backends in any order produce identical tables
  • FuzzAddKeepsInvariants Add leaves the lookup table valid (full, in-range, every backend present)

Also added staticcheck run during CI, and fixed 1 issue- bigM constant no longer used

@m0wfo
m0wfo merged commit 872c202 into master Aug 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant