diff options
| author | vanhauser-thc <vh@thc.org> | 2022-07-12 09:04:54 +0200 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2022-07-12 09:04:54 +0200 |
| commit | b847e0f414e7b310e1a68bc501d4e2453bfce70e (patch) | |
| tree | 1ea5ebbb0b47e8d55b1950e9b787ec9f254655af /frida_mode/src/instrument/instrument_x64_cache.c | |
| parent | 338f1ae2f85dffe7daa88fa78cd1d078a986d0d5 (diff) | |
| download | afl++-b847e0f414e7b310e1a68bc501d4e2453bfce70e.tar.gz | |
clang format 14
Diffstat (limited to 'frida_mode/src/instrument/instrument_x64_cache.c')
| -rw-r--r-- | frida_mode/src/instrument/instrument_x64_cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frida_mode/src/instrument/instrument_x64_cache.c b/frida_mode/src/instrument/instrument_x64_cache.c index f9901e2f..ef10e133 100644 --- a/frida_mode/src/instrument/instrument_x64_cache.c +++ b/frida_mode/src/instrument/instrument_x64_cache.c @@ -105,11 +105,11 @@ static gboolean instrument_cache_relocate(GumAddress old_pc, GumAddress new_pc, } -static void instrument_cache_rewrite_branch_insn(const cs_insn * instr, +static void instrument_cache_rewrite_branch_insn(const cs_insn *instr, GumStalkerOutput *output) { GumX86Writer *cw = output->writer.x86; - cs_x86 * x86 = &instr->detail->x86; + cs_x86 *x86 = &instr->detail->x86; guint8 modified[sizeof(instr->bytes)] = {0}; guint8 offset = 0; guint8 skip = 0; @@ -295,7 +295,7 @@ static void instrument_cache_write_lookup(GumX86Writer *cw) { void instrument_cache_jmp_call(const cs_insn *instr, GumStalkerOutput *output) { GumX86Writer *cw = output->writer.x86; - cs_x86 * x86 = &instr->detail->x86; + cs_x86 *x86 = &instr->detail->x86; if (x86->op_count != 1) { FFATAL("Unexpected operand count"); } @@ -362,7 +362,7 @@ void instrument_cache_jmp_call(const cs_insn *instr, GumStalkerOutput *output) { void instrument_cache_ret(const cs_insn *instr, GumStalkerOutput *output) { GumX86Writer *cw = output->writer.x86; - cs_x86 * x86 = &instr->detail->x86; + cs_x86 *x86 = &instr->detail->x86; guint16 n = 0; if (x86->op_count != 0) { |
