>>> On 13.10.17 at 11:00, <george.dun...@citrix.com> wrote:
> Changeset XXXX introduced "batch mode" to afl-harness, which allowed

With (part of) the commit hash and the title inserted here and ...

> --- a/tools/fuzz/x86_instruction_emulator/afl-harness.c
> +++ b/tools/fuzz/x86_instruction_emulator/afl-harness.c
> @@ -99,13 +99,17 @@ int main(int argc, char **argv)
>              exit(-1);
>          }
>  
> -        if ( !feof(fp) )
> +        /* Only run the test if the input file was smaller than INPUT_SIZE */
> +        if ( feof(fp) )
> +        {
> +            LLVMFuzzerTestOneInput(input, size);
> +        }

... ideally with the unnecessary braces dropped here
Reviewed-by: Jan Beulich <jbeul...@suse.com>

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to