Question for fans of fuzzers and property-based testing: what’s the best way to split the raw fuzzy input into two files, e.g. header file and source file? break at a β€˜\0’ or something more tricky?
3
1
Replying to @fanf
read a byte use it as a ratio of input sizes to split the rest perhaps?

Jun 1, 2020 Β· 7:33 PM UTC

1
Replying to @dsilverstone
Ooh I hadn’t thought of ratios! Does that actually work better than a delimiter in practice?
1
I tend to try for the absolute simplest thing i can in a fuzzer wrapper and the problem with a delimiter is you're saying that the delimiter will therefore never show up in the first input since by definition when you encounter it you switch to the second input.
1