`GeneralizationStage` runs on every new corpus entry but no configured mutator consumes `GeneralizedInputMetadata`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Start at src/fuzzer/mod.rs around line 320 where stages is assembled and add GeneralizationStage::new(&edges_observer), then read the mutator chain at lines 483-485. Confirm nothing downstream reads GeneralizedInputMetadata by grepping the repo and checking the LibAFL mutators named in the issue. Done means GeneralizationStage is gone (or Grimoire mutators wired in) and the crate still builds and runs its tests; the issue notes it was found by reading, not reproduced under SIMICS, so no target run is needed to verify.
Written by the indexing model from the issue text.
Description
Where
- https://github.com/intel/tsffs/blob/ed67e1c07ffb59ca45d4cd1ab1ed50a61effb60c/src/fuzzer/mod.rs#L320
- https://github.com/intel/tsffs/blob/ed67e1c07ffb59ca45d4cd1ab1ed50a61effb60c/src/fuzzer/mod.rs#L483-L485
Problem
stages includes GeneralizationStage::new(&edges_observer), which executes multiple target runs per new corpus entry to compute GeneralizedInputMetadata. None of the configured mutators (I2SRandReplace, havoc_mutations, tokens_mutations, StdMOptMutator, AFLppRedQueen) read GeneralizedInputMetadata (in LibAFL, only Grimoire mutators consume it).
Impact
Wastes dozens to hundreds of SIMICS snapshot/restore target executions per new corpus entry and bloats on-disk .metadata JSON files with unused metadata.
Suggested fix
Remove GeneralizationStage from stages (or wire in Grimoire mutators if generalization is intended).
Status
Found by reading the code at ed67e1c; not reproduced under SIMICS.
- Dominant language
- Rust
- Stars
- 337
- Forks
- 26
- Avg merge
- 5h 33m
- Merged PRs (30d)
- 30
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from intel/tsffs
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
awxkee/yuvutils-rs#149 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Ignore entry for RUSTSEC-2026-0002 no longer matches anything (`lru` is no longer in `Cargo.lock`)Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
influxdata/influxdb#27767 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
shell-pool/shpool#463 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
oras-project/rust-oci-client-node#132 ·
Maintainers usually reply within 2 days