Re: [Xen-devel] [PATCH 04/14] fuzz/x86_emulate: Add a better input size check

2017-09-25 Thread George Dunlap
On Mon, Sep 25, 2017 at 10:36 AM, George Dunlap wrote: > On Fri, Sep 15, 2017 at 12:39 PM, Wei Liu wrote: >> On Fri, Aug 25, 2017 at 05:43:33PM +0100, George Dunlap wrote: >>> For some reason the 'feof()' check for the file size isn't working in >>> llvm-clang-fast mode; the result is several kil

Re: [Xen-devel] [PATCH 04/14] fuzz/x86_emulate: Add a better input size check

2017-09-25 Thread George Dunlap
On Fri, Sep 15, 2017 at 12:39 PM, Wei Liu wrote: > On Fri, Aug 25, 2017 at 05:43:33PM +0100, George Dunlap wrote: >> For some reason the 'feof()' check for the file size isn't working in >> llvm-clang-fast mode; the result is several kilobyte files rather than >> the 4k limit files as we've reques

Re: [Xen-devel] [PATCH 04/14] fuzz/x86_emulate: Add a better input size check

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:33PM +0100, George Dunlap wrote: > For some reason the 'feof()' check for the file size isn't working in > llvm-clang-fast mode; the result is several kilobyte files rather than > the 4k limit files as we've requested. This is bad in part because > AFL will spend time

Re: [Xen-devel] [PATCH 04/14] fuzz/x86_emulate: Add a better input size check

2017-08-25 Thread Andrew Cooper
On 25/08/17 17:43, George Dunlap wrote: > For some reason the 'feof()' check for the file size isn't working in > llvm-clang-fast mode; the result is several kilobyte files rather than > the 4k limit files as we've requested. This is bad in part because > AFL will spend time trying to "fuzz" bits