shithub: puzzles

Download patch

ref: 100cfd2e994fe870af1bd247097dfc105291c1bd
parent: ec4335e07f4819e82ec2cc95fba36764e5bcf8f2
author: Ben Harris <bjh21@bjh21.me.uk>
date: Thu Feb 16 17:57:23 EST 2023

Separate fuzzing and harness in fuzzpuzz

There's now a function, fuzz_one(), that processes a single save file,
and main() arranges to call this a suitable number of times depending
on whether we're in AFL persistent mode or not.  This makes things a
bit cleaner, and will probably make adding good support for other
fuzzers, or just switching entirely to the horrible but popular
libFuzzer interface, simpler.