Skip to content

Build the fuzzing loop and crash reporter. #293

Description

@codeZe-us

The mutators are only useful inside a loop that runs millions of iterations, catches panics, and reports the exact reproducer. A crash with no reproducer is a crash you cannot fix.

Issues/what to fix

  • Implement the main loop: generate a seed, apply a randomly chosen mutator, run parse inside std::panic::catch_unwind.
  • On a caught panic, write a Finding record (input, mutator name, panic message) to a findings/ directory as JSON.
  • Add a deterministic --seed flag so any crash can be replayed exactly.

Files location

src/main.rs, src/report.rs
Expected result
The loop runs continuously, survives parser panics, and writes replayable findings to disk.
Join the contributor Telegram group: https://t.me/+g6EPIsHod0RhZGZk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions