Skip to content

Key fuzz outcomes on throw sites; vary the seed between runs - #143

Merged
pscheid92 merged 1 commit into
mainfrom
fuzz/throw-site-outcomes
Nov 27, 2026
Merged

pscheid92 merged 1 commit into
mainfrom
fuzz/throw-site-outcomes

Conversation

@pscheid92

Copy link
Copy Markdown
Owner

A follow-up to #142, which was merged before this was pushed.

  • Outcomes keyed on throw sites, not messages. Messages repeat the input, often unquoted (plugin stnonetanwrax error), so the ssh and plugin-client pools filled with near-duplicates. In the 15-minute run ssh logged 275,308 outcomes and reached ok on 0.04% of inputs. An outcome is now the exception's type and where it was thrown (method and IL offset, and the same for a wrapped exception), and the report shows one example message for each. In a two-minute run, ssh has 91 outcomes with ok at 2.4%, and plugin-client has 25 with ok at 5.2% and ten times as many inputs.
  • Seed backstop. One mutant in four starts from an original seed, so a growing pool can't crowd the seeds out.
  • A new seed each run. Every worker used to start at seed 1, so each run repeated the last one's mutations. Each run now draws a seed and prints it, and --seed N repeats a run.
  • A fifth planted bug. A DecryptWriter that fails a cut-off nonce with another exception type than the other three paths is found within 60 s, by the check that all four paths fail the same way.

A 30-second run of all ten targets found nothing. Only Age.Fuzz changes.

… runs

Messages repeat the input, often unquoted, so the ssh and plugin-client pools filled with
near-duplicates (275,308 outcomes for ssh in 15 minutes; ok in 0.04% of inputs). An outcome is
now the exception's type and its throw site (method and IL offset), with an example message
kept for the report: 91 outcomes for ssh and 25 for plugin-client in two minutes, ok at 2.4% and
5.2%. One mutant in four starts from an original seed. Each run draws its mutation seed and
prints it; --seed repeats a run. A fifth planted bug (DecryptWriter failing a cut-off nonce with
another exception type) is found, by the fail-differently check.
@pscheid92
pscheid92 merged commit fd2e9f9 into main Nov 27, 2026
4 checks passed
@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.45%. Comparing base (1399f32) to head (50a8595).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #143   +/-   ##
=======================================
  Coverage   97.45%   97.45%           
=======================================
  Files          75       75           
  Lines        4998     4998           
  Branches      686      686           
=======================================
  Hits         4871     4871           
  Misses         78       78           
  Partials       49       49           
Flag Coverage Δ
macos-latest 97.41% <ø> (ø)
ubuntu-latest 97.41% <ø> (ø)
windows-latest 97.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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