Andrew Cooper writes ("Re: [PATCH 2/4] tools/fuzz: add AFL stub program for x86 insn emulator fuzzer"): > On 24/01/17 17:22, Ian Jackson wrote: > > You don't need to test with stat unless you want to support files > > bigger than your static buffer. > > It is expected that AFL data will eventually become longer than the > fuzzer wishes. You should ignore extraneous data.
No, you should exit nonzero. That will signal to fuzzers that this is not a "valid" input and so not interesting. It will signal to other kinds of test code that something is wrong. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel