#!/usr/bin/env python3 """Regenerate the committed seed corpora for alkstore's fuzz targets. Writes into fuzz/corpus//. Deterministic: fixed inputs only, no randomness. Run from the repo root: python3 fuzz/gen_fuzz_seeds.py Target seed functions and the main() registry land here with the target tasks; the shared seed_name()/write_seed() plumbing is stable. """ import os def seed_name(target, i): return os.path.join("fuzz", "corpus", target, f"seed-{i:03d}") def write_seed(target, i, data): path = seed_name(target, i) os.makedirs(os.path.dirname(path), exist_ok=True) with open(path, "wb") as f: f.write(data) def main(): pass if __name__ == "__main__": main()