You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Increase fuzz test iterations to 100 and add comprehensive edge case testing
Changes:
- Increase fuzz iterations from 10 to 100 (10x) in CI workflow and CMakeLists.txt
- Add fuzz_edge_cases() with 40+ targeted test cases covering:
- Boundary values (all zeros, all 0xFFFF)
- Zone ID edge cases (empty, long, special chars, with CIDR/port)
- CIDR edge cases (0, 128, invalid values)
- Port edge cases (0, 65535, out of range)
- Bracket mismatches and edge cases
- Compression edge cases (multiple ::, triple :)
- IPv4-embedded edge cases (invalid octets, wrong positions)
- Malformed inputs (empty, special chars, whitespace)
- Mixed notation stress tests (all features combined)
- Case sensitivity tests
- Enhance random string generation with more relevant characters:
brackets, slashes, percent, underscores, hyphens, spaces, tabs, newlines
- Run edge case tests before random fuzzing for deterministic coverage
This provides better edge case coverage and helps identify parser vulnerabilities.
0 commit comments