Re: [PATCH v3 4/5] Added build and install scripts

2019-06-28 Thread samcacc
On 6/28/19 10:17 AM, Paolo Bonzini wrote: > On 28/06/19 09:59, samc...@amazon.com wrote: >>> Surely if it's important to generate core dumps, it's not only important >>> during installation, no? >> Yep... missed this. I'll move it to run.sh right before alf-many is >> invoked. It would be nice to

Re: [PATCH v3 4/5] Added build and install scripts

2019-06-28 Thread samcacc
On 6/27/19 6:57 PM, Alexander Graf wrote: > > > On 24.06.19 16:24, Sam Caccavale wrote: >> install_afl.sh installs AFL locally and emits AFLPATH, >> build.sh, and run.sh build and run respectively >> >> --- >> >> v1 -> v2: >>   - Introduced this patch >> >> v2 -> v3: >>   - Moved non-essential de

Re: [PATCH 1/3] Build target for emulate.o as a userspace binary

2019-06-12 Thread samcacc
On 5/31/19 10:02 AM, Alexander Graf wrote: > > On 21.05.19 17:39, Sam Caccavale wrote: >> This commit contains the minimal set of functionality to build >> afl-harness around arch/x86/emulate.c which allows exercising code >> in that source file, like x86_emulate_insn.  Resolving the >> dependenci

Re: [PATCH 2/3] Emulate simple x86 instructions in userspace

2019-06-12 Thread samcacc
On 5/31/19 10:38 AM, Alexander Graf wrote: > > On 21.05.19 17:39, Sam Caccavale wrote: >> Added the minimal subset of code to run afl-harness with a binary file >> as input.  These bytes are used to populate the vcpu structure and then >> as an instruction stream for the emulator.  It does not att

Re: x86 instruction emulator fuzzing

2019-06-12 Thread samcacc
On 5/31/19 10:39 AM, Alexander Graf wrote: > > On 21.05.19 17:39, Sam Caccavale wrote: >> Dear all, >> >> This series aims to provide an entrypoint for, and fuzz KVM's x86 >> instruction >> emulator from userspace.  It mirrors Xen's application of the AFL >> fuzzer to >> it's instruction emulator