Corpus Management

Corpus management is the process of collecting, minimizing, and reusing interesting fuzzer inputs to improve coverage and efficiency across fuzzing campaigns.

In Depth

In coverage-guided fuzzing, the corpus is a set of inputs that the fuzzer has discovered trigger new code paths. Corpus management involves saving these inputs to disk, minimizing the corpus (removing redundant entries that don't add new coverage), seeding new campaigns with previous results, and sharing corpora across team members. Good corpus management dramatically improves fuzzing efficiency — a well-seeded campaign can reach 80% coverage in minutes rather than hours. Both Echidna and Medusa support corpus directories, and Recon Pro manages corpora automatically in the cloud. See the deep dive on corpus management for practical strategies.

Frequently Asked Questions

What is a fuzzer corpus?

A fuzzer corpus is a collection of inputs that trigger different code paths in your smart contract. The fuzzer saves interesting inputs that discover new coverage, then reuses them as starting points for finding deeper bugs. Managing this corpus across campaigns is key to efficient fuzzing.

Why does corpus management matter?

Without corpus management, every fuzzing campaign starts from scratch. With a good corpus, new campaigns immediately reach the coverage level of previous runs and spend all their time exploring new paths. This can cut time-to-coverage from hours to minutes.

Related Terms

Need expert help with corpus management?