Draft
Conversation
|
👋 Hi! I see this is a draft PR. |
9f8c831 to
e88eb4c
Compare
Log the number of corpus files before each fuzz target runs, making it easier to assess whether the 30 second time limit is sufficient to replay the full corpus. Also remove the -v flag from honggfuzz to cut down on per-thread status line noise in CI logs. AI tools were used in preparing this commit.
After the regular fuzzing pass, run honggfuzz in minimize mode (-M) on main branch builds. This prunes corpus inputs that don't contribute unique coverage, preventing unbounded cache growth. AI tools were used in preparing this commit.
Instead of a fixed 30s run_time, set iterations to 3x corpus size plus a baseline of 1000. This ensures the full corpus is always replayed with room for new mutations, while small targets finish quickly. A 5 minute hard cap prevents any single target from running too long. AI tools were used in preparing this commit.
Log timestamps at each phase (target verification, write-seeds, honggfuzz install, build, per-target fuzz start/finish, and corpus minimization) to identify where time is spent. AI tools were used in preparing this commit.
e88eb4c to
b2ea4c4
Compare
Add quiet flag to both fuzzing and minimization runs to reduce log noise from per-iteration status lines. AI tools were used in preparing this commit.
The sanity check (cargo test on fuzz targets) doesn't use the restored corpus and was blocking the actual fuzz run. Move it to a separate fuzz_sanity job so both run in parallel. AI tools were used in preparing this commit.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4497 +/- ##
==========================================
- Coverage 86.19% 86.18% -0.02%
==========================================
Files 161 160 -1
Lines 107459 107441 -18
Branches 107459 107441 -18
==========================================
- Hits 92621 92594 -27
- Misses 12219 12227 +8
- Partials 2619 2620 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Target ~30 minutes of total fuzzing time (up from ~12 minutes) by increasing the per-target iteration count from 3x to 8x corpus size. Raise per-target time cap from 5 to 10 minutes. AI tools were used in preparing this commit.
Minimization now runs unconditionally (not just on main) and logs the corpus size after each target is minimized. AI tools were used in preparing this commit.
Show the new corpus count and how many files were added, giving visibility into which targets are discovering new coverage. AI tools were used in preparing this commit.
The default 1s timeout is too short for chanmon_consistency_target, causing inputs to be killed before completion. AI tools were used in preparing this commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.