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

2019-06-21 Thread Alexander Graf
On 12.06.19 17:19, samc...@amazon.com wrote: On 5/31/19 10:38 AM, Alexander Graf wrote: On 21.05.19 17:39, Sam Caccavale wrote: +static void dump_state_after(const char *desc, struct state *state) +{ +    debug(" -- State after %s --\n", desc); +    debug("mode: %s\n",

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

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

2019-05-31 Thread Alexander Graf
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 attempt to handle exceptions an only supports very

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

2019-05-21 Thread Sam Caccavale
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 attempt to handle exceptions an only supports very simple ops. ---