diff options
author | van Hauser <vh@thc.org> | 2022-08-08 15:27:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 15:27:07 +0200 |
commit | 3e2986dd78dbc45035b47a34eedd7dd1b9a4d0b3 (patch) | |
tree | 051a91a2a36a1c768870591634eca83c62e6053c /frida_mode/src/instrument/instrument_x64.c | |
parent | a2f3c3ee519c19935039d1fe1e8b77cdc32fa375 (diff) | |
parent | 1f06b55a8b558bd8da0296134c29c21c4849a4bd (diff) | |
download | afl++-4.02c.tar.gz |
Merge pull request #1489 from AFLplusplus/dev 4.02c
push to stable
Diffstat (limited to 'frida_mode/src/instrument/instrument_x64.c')
-rw-r--r-- | frida_mode/src/instrument/instrument_x64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frida_mode/src/instrument/instrument_x64.c b/frida_mode/src/instrument/instrument_x64.c index 9d754082..13ced4a3 100644 --- a/frida_mode/src/instrument/instrument_x64.c +++ b/frida_mode/src/instrument/instrument_x64.c @@ -469,6 +469,7 @@ gpointer instrument_cur(GumStalkerOutput *output) { } void instrument_write_regs(GumCpuContext *cpu_context, gpointer user_data) { + int fd = (int)(size_t)user_data; instrument_regs_format( fd, "rax: 0x%016x, rbx: 0x%016x, rcx: 0x%016x, rdx: 0x%016x\n", @@ -483,6 +484,7 @@ void instrument_write_regs(GumCpuContext *cpu_context, gpointer user_data) { fd, "r12: 0x%016x, r13: 0x%016x, r14: 0x%016x, r15: 0x%016x\n", cpu_context->r12, cpu_context->r13, cpu_context->r14, cpu_context->r15); instrument_regs_format(fd, "rip: 0x%016x\n\n", cpu_context->rip); + } #endif |