[*] Binary protection state of iostat
Full RELRO Canary found NX enabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of iostat
add.w sl, sl, 8
mov r1, r3
add r0, pc
movs r2, 1
str r0, [sp]
sub.w fp, sl, 4
mov r0, r6
strd sb, r4, [sp, 4]
blx 0x1064
mov.w r2, sym.imp.setlocale
mov r1, fp
mov r0, r6
blx 0xe6c
movw r3, 0xffe
subs r2, r0, 1
cmp r2, r3
bhi 0x5b7e
add sl, r0
mov r0, fp
strb r5, [sl, -0x4]
blx sym.imp.__printf_chk
cmp r0, 0
beq 0x5b7e
--
mov.w r3, 0x400
ldr r1, [0x00005e4c]
ldr.w ip, [0x00005e50]
add r1, pc
push {r4, r5, lr}
mov r5, r0
add.w r0, r1, 0xc
sub sp, 0x10
add ip, pc
ldr r1, [0x00005e54]
add r2, sp, 0x1c
ldr r4, [r2], 4
ldr.w r1, [ip, r1]
ldr r1, [r1]
str r1, [sp, 0xc]
mov.w r1, 0
strd r4, r2, [sp]
str r2, [sp, 8]
mov r1, r3
movs r2, 1
blx sym.imp.__vsnprintf_chk
cmp r5, 0
ble 0x5e1a
--
mov.w r3, 0x400
ldr r1, [0x00005ee0]
ldr.w ip, [0x00005ee4]
add r1, pc
push {r4, r5, lr}
mov r5, r0
addw r0, r1, 0x40c
sub sp, 0x10
add ip, pc
ldr r1, [0x00005ee8]
add r2, sp, 0x1c
ldr r4, [r2], 4
ldr.w r1, [ip, r1]
ldr r1, [r1]
str r1, [sp, 0xc]
mov.w r1, 0
strd r4, r2, [sp]
str r2, [sp, 8]
mov r1, r3
movs r2, 1
blx sym.imp.__vsnprintf_chk
cmp r5, 0
ble 0x5eb2
--
beq 0x64fa
mov r6, r0
ldr r0, [r0]
cbz r0, 0x64c8
add r7, sp, 8
mov r4, r6
subs r5, r7, 4
bl 0x6264
cbz r0, 0x64ae
mov.w r2, sym.imp.setlocale
mov r1, r5
blx 0xe6c
movw r3, 0xffe
subs r2, r0, 1
cmp r2, r3
bhi 0x64ae
adds r3, r7, r0
movs r2, 0
mov r0, r5
strb r2, [r3, -0x4]
blx sym.imp.__printf_chk
cbz r0, 0x64ae
ldrb r3, [r0]
--
ldr r3, [r2, r3]
adds r1, 4
ldr r3, [r3]
str r3, [r1]
mov.w r3, 0
bl 0x6264
cbz r0, 0x65a2
add r5, sp, 4
mov.w r2, sym.imp.setlocale
mov r1, r5
add r4, sp, 8
blx 0xe6c
movw r3, 0xffe
subs r2, r0, 1
cmp r2, r3
bhi 0x65a2
add r4, r0
movs r3, 0
mov r0, r5
strb r3, [r4, -0x4]
blx sym.imp.__printf_chk
cbz r0, 0x65a2
ldrb r3, [r0]
--
str r3, [sp, 4]
mov.w r3, 0x100
str r1, [sp, 0xc]
str.w ip, [sp]
mov r1, r3
mov r0, r4
add r5, pc
blx 0x1064
mov.w r2, sym.imp.setlocale
mov r1, r5
mov r0, r4
blx 0xe6c
movw r2, 0xffe
subs r1, r0, 1
cmp r1, r2
bhi 0x6620
mov r3, r0
movs r2, 0
mov r0, r5
strb r2, [r5, r3]
blx sym.imp.__printf_chk
mov r4, r0
cbz r0, 0x6620
[*] Function printf used 6 times iostat