about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-12-28 12:07:16 +0100
committerGitHub <noreply@github.com>2021-12-28 12:07:16 +0100
commitf9d4dcdd85fcbc29672a58801fea0f388691ec5f (patch)
tree9f487d6c2e80bdadffe5f66d9c94d86f4a3741c6
parent51d6f863f5b3c51effb723f7ba88c4aecff36534 (diff)
parent8a681bc16360c21d512e901d4597dc204f152547 (diff)
downloadafl++-f9d4dcdd85fcbc29672a58801fea0f388691ec5f.tar.gz
Merge pull request #1232 from WorksButNotTested/frida
Removed redundant instruction
-rw-r--r--frida_mode/src/instrument/instrument_arm64.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/frida_mode/src/instrument/instrument_arm64.c b/frida_mode/src/instrument/instrument_arm64.c
index 32e44e92..57b60317 100644
--- a/frida_mode/src/instrument/instrument_arm64.c
+++ b/frida_mode/src/instrument/instrument_arm64.c
@@ -36,7 +36,6 @@ typedef struct {
   // ldrb    w1, [x0]
   // add     w1, w1, #0x1
   // add     x1, x1, x1, lsr #8
-  // uxtb    w1, w1
   // strb    w1, [x0]
   // adrp    x0, 0x7fb7738000
   // mov     x1, #0xc5c
@@ -58,7 +57,6 @@ typedef struct {
   uint32_t ldrb_w1_x0;                                     /* ldrb w1, [x0] */
   uint32_t add_w1_w1_1;                                   /* add w1, w1, #1 */
   uint32_t add_w1_w1_w1_lsr_8;                    /* add x1, x1, x1, lsr #8 */
-  uint32_t uxtb_w1_w1;                                       /* uxtb w1, w1 */
 
   uint32_t strb_w1_ptr_x0;                                 /* strb w1, [x0] */
 
@@ -100,7 +98,6 @@ static const afl_log_code_asm_t template =
 
         .add_w1_w1_1 = 0x11000421,
         .add_w1_w1_w1_lsr_8 = 0x8b412021,
-        .uxtb_w1_w1 = 0x53001c21,
 
         .strb_w1_ptr_x0 = 0x39000001,