diff options
author | vanhauser-thc <vh@thc.org> | 2023-09-03 11:25:03 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-09-03 11:25:03 +0200 |
commit | 3bae404733e27b3ec7769ad6d5d997dcd9ec6fa3 (patch) | |
tree | 138240bf08a71b807a249770063bc5bc5c7859b3 /frida_mode/src | |
parent | 1c4ff364964f83d98514fa0007683053ed3b64a9 (diff) | |
download | afl++-3bae404733e27b3ec7769ad6d5d997dcd9ec6fa3.tar.gz |
code format
Diffstat (limited to 'frida_mode/src')
-rw-r--r-- | frida_mode/src/instrument/instrument_arm64.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/frida_mode/src/instrument/instrument_arm64.c b/frida_mode/src/instrument/instrument_arm64.c index a0c66697..1147275f 100644 --- a/frida_mode/src/instrument/instrument_arm64.c +++ b/frida_mode/src/instrument/instrument_arm64.c @@ -402,17 +402,13 @@ bool instrument_write_inline(GumArm64Writer *cw, GumAddress code_addr, } - /* - * The mov instruction supports up to a 16-bit offset. If our offset is out of - * range, then it can end up clobbering the op-code portion of the instruction - * rather than just the operands. So return false and fall back to the + /* + * The mov instruction supports up to a 16-bit offset. If our offset is out of + * range, then it can end up clobbering the op-code portion of the instruction + * rather than just the operands. So return false and fall back to the * alternative instrumentation. */ - if (area_offset > UINT16_MAX) { - - return false; - - } + if (area_offset > UINT16_MAX) { return false; } code.code.mov_x0_curr_loc |= area_offset << 5; |