Re: [Xen-devel] [PATCH 08/14] fuzz/x86_emulate: Add 'afl-cov' target

2017-09-15 Thread George Dunlap
On 09/15/2017 01:57 PM, Wei Liu wrote: > On Fri, Aug 25, 2017 at 05:43:37PM +0100, George Dunlap wrote: >> diff --git a/tools/fuzz/x86_instruction_emulator/Makefile >> b/tools/fuzz/x86_instruction_emulator/Makefile >> index 10009dc08f..629e191029 100644 >> --- a/tools/fuzz/x86_instruction_emulator

Re: [Xen-devel] [PATCH 08/14] fuzz/x86_emulate: Add 'afl-cov' target

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:37PM +0100, George Dunlap wrote: > diff --git a/tools/fuzz/x86_instruction_emulator/Makefile > b/tools/fuzz/x86_instruction_emulator/Makefile > index 10009dc08f..629e191029 100644 > --- a/tools/fuzz/x86_instruction_emulator/Makefile > +++ b/tools/fuzz/x86_instruction_

Re: [Xen-devel] [PATCH 08/14] fuzz/x86_emulate: Add 'afl-cov' target

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:37PM +0100, George Dunlap wrote: > ...to generate a "normal" coverage-instrumented binary, suitable for > use with gcov or afl-cov. > > This is slightly annoying because: > > - Every object file needs to have been instrumented to work >effectively > > - You ge

[Xen-devel] [PATCH 08/14] fuzz/x86_emulate: Add 'afl-cov' target

2017-08-25 Thread George Dunlap
...to generate a "normal" coverage-instrumented binary, suitable for use with gcov or afl-cov. This is slightly annoying because: - Every object file needs to have been instrumented to work effectively - You generally want to have both an afl-instrumented binary and a gcov-instrumented b