[*] Binary protection state of libedit.so.0.0.68
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libedit.so.0.0.68
push {r4, r5, r6, r7, lr}
sub sp, segment.NOTE
add r2, pc
add r4, sp, 0x8c
mov r5, r0
mov r0, r4
ldr r3, [r2, r3]
add r6, sp, 0xc
add r7, sp, 8
ldr r3, [r3]
str r3, [sp, 0x10c]
mov.w r3, 0
blx 0x4e94
movs r1, 0x1c
mov r0, r4
blx 0x52c8
mov r1, r4
mov r2, r6
movs r0, 0
add r4, sp, 4
blx sym.imp.__fprintf_chk
mov r2, r7
mov r1, r4
mov r0, r5
bl 0xcec8
cbnz r0, 0x72b4
movs r2, 0
mov r1, r6
movs r0, 2
blx sym.imp.__fprintf_chk
ldr r2, [0x000072cc]
ldr r3, [0x000072c8]
--
add r2, pc
add r4, sp, 4
mov r5, r0
add r7, sp, 0x84
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x104]
mov.w r3, 0
blx 0x575c
mov r6, r0
mov r0, r4
ldr.w r8, [r6]
blx 0x4e94
mov r1, r5
mov r0, r4
blx 0x52c8
mov r1, r4
ldr r4, [0x0000c3f4]
mov r2, r7
movs r0, 0
blx sym.imp.__fprintf_chk
add r4, pc
cmp r5, 0x12
--
movs r2, 0
mov r0, r5
mov sb, r2
add r3, pc
ldr.w sl, [r3]
ldr.w r3, [sl, 0x380]
add r1, r3
blx sym.imp.tgoto
movs r2, 0x8c
ldr.w r3, [sl, 0x380]
mul r4, r2, r4
mov.w r2, -1
add.w r0, r3, fp
str r2, [r3, r4]
add r3, r4
str.w sb, [r3, 0x84]
blx 0x4e94
mov r2, sb
mov r1, r7
movs r0, 2
blx sym.imp.__fprintf_chk
mov r1, r5
mov r0, sb
--
mov r0, r5
blx 0x52c8
movs r1, 0xf
mov r0, r5
blx 0x52c8
movs r1, 0x12
mov r0, r5
blx 0x52c8
movs r1, 0x1c
mov r0, r5
blx 0x52c8
add.w r8, sp, 4
mov r1, r5
add fp, pc
mov.w sl, 4
movs r7, 0x8c
mov.w r6, -1
mov r5, sb
mov r2, r8
movs r0, 0
blx sym.imp.__fprintf_chk
mul r3, r7, sb
ldr.w r2, [r4, 0x380]
add.w sb, sb, 1
add.w r0, r2, sl
add.w sl, sl, 0x8c
adds r1, r2, r3
str r6, [r2, r3]
str.w r5, [r1, 0x84]
blx 0x4e94
ldr r3, [fp, 4]!
adds r3, 1
bne 0xc496
movs r2, 0
mov r1, r8
movs r0, 2
blx sym.imp.__fprintf_chk
movs r0, 0
ldr r2, [0x0000c4fc]
--
sub sp, 0x1a4
add r3, pc
movs r4, 0
mov r7, r0
add r0, sp, segment.NOTE
ldr r2, [r2]
str r2, [sp, 0x19c]
mov.w r2, 0
str r3, [sp, 0x110]
str r4, [sp, 0x194]
add.w fp, sp, 4
blx 0x4e94
ldr.w r1, [r7, 0x380]
mov r2, fp
ldr r6, [0x0000c5cc]
mov r0, r4
ldr.w sb, [0x0000c5d0]
add r5, sp, 0x84
add.w r1, r1, 0x3d4
add.w r8, sp, 0x110
blx sym.imp.__fprintf_chk
add r6, pc
add sb, pc
--
adds r0, 1
beq 0xc588
ldr r3, [r5]
cmp r3, sb
beq 0xc588
ldr.w r0, [r7, 0x380]
movs r2, 0x8c
mov r1, r5
mla r0, sl, r4, r0
blx 0x5274
ldr r0, [r6, 4]!
adds r4, 1
adds r3, r0, 1
bne 0xc566
ldr r3, [0x0000c5d4]
movs r2, 0
mov r1, fp
movs r0, 2
add r3, pc
str r7, [r3]
blx sym.imp.__fprintf_chk
ldr r2, [0x0000c5d8]
ldr r3, [0x0000c5c4]
--
movs r1, r0
push.w {r4, r5, r6, r7, r8, lr}
sub sp, 0x88
ldr r4, [0x0000c660]
add r7, sp, 4
mov r6, r0
mov r2, r7
ldr r3, [0x0000c664]
mov.w r8, 0x8c
ldr.w r1, [r0, 0x380]
add r4, pc
ldr r5, [0x0000c668]
movs r0, 0
ldr r3, [r4, r3]
movs r4, 0
add.w r1, r1, 0x3d4
add r5, pc
ldr r3, [r3]
str r3, [sp, 0x84]
mov.w r3, 0
blx sym.imp.__fprintf_chk
movs r0, 2
mul r3, r8, r4
ldr.w r1, [r6, 0x380]
ldr r2, [r1, r3]
add r1, r3
adds r2, 1
beq 0xc628
movs r2, 0
blx sym.imp.tgoto
ldr r0, [r5, 4]!
adds r4, 1
adds r3, r0, 1
bne 0xc612
ldr r3, [0x0000c66c]
movs r2, 0
mov r1, r7
movs r0, 2
add r3, pc
str r2, [r3]
blx sym.imp.__fprintf_chk
ldr r2, [0x0000c670]
ldr r3, [0x0000c664]
--
push.w {r4, r5, r6, r7, r8, sb, lr}
subw sp, sp, 0x914
add r2, pc
add r6, sp, 0x8c
mov r4, r0
mov r0, r6
ldr r3, [r2, r3]
mov r5, r1
add r7, sp, 0xc
mov sb, sp
ldr r3, [r3]
str.w r3, [sp, 0x90c]
mov.w r3, 0
blx 0x4e94
movs r1, 0x1c
mov r0, r6
blx 0x52c8
mov r2, r7
mov r1, r6
movs r0, 0
blx sym.imp.__fprintf_chk
add r3, sp, 0x10c
str.w r3, [sb]
--
str r2, [r1, 8]
str r3, [r4, 0x64]
mov r0, r4
ldr r3, [r1, 8]
add.w sb, sp, 8
add.w r8, sp, 4
str r3, [r4, 0x60]
bl 0xc6f0
mov r2, sb
mov r1, r8
mov r0, r4
bl 0xcec8
ldrd r1, r2, [sp, 4]
mov r0, r4
bl 0xcf50
adds r3, r0, 1
beq 0xd484
movs r2, 0
mov r1, r7
movs r0, 2
blx sym.imp.__fprintf_chk
mov r0, r4
bl 0xd0c4
[*] Function printf used 12 times libedit.so.0.0.68