[*] 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

bhs 0x1f74
movs r1, 0
mov r0, r4
blx 0x1098
mov r5, r0
cbnz r0, 0x1f74
add.w r6, sp, 0x1000
mov.w r2, 0x1000
adds r6, 0x18
mov r0, r4
subs r7, r6, 4
mov r1, r7
blx 0xf18
movw r3, 0xffe
subs r2, r0, 1
cmp r2, r3
bhi 0x1f74
add r6, r0
mov r0, r7
strb r5, [r6, -0x4]
blx sym.imp.__printf_chk
b 0x1f76
movs r0, 0
--
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 0x111c
mov.w r2, 0x1000
mov r1, fp
mov r0, r6
blx 0xf18
movw r3, 0xffe
subs r2, r0, 1
cmp r2, r3
bhi 0x5c4e
add sl, r0
mov r0, fp
strb r5, [sl, -0x4]
blx sym.imp.__printf_chk
cmp r0, 0
beq 0x5c4e
--
mov.w r3, 0x400
ldr r1, [0x00005f30]
ldr.w ip, [0x00005f34]
add r1, pc
push {r4, r5, lr}
mov r5, r0
add.w r0, r1, 0x10
sub sp, 0x10
add ip, pc
ldr r1, [0x00005f38]
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 0x5efe
--
mov.w r3, 0x400
ldr r1, [0x00005fc4]
ldr.w ip, [0x00005fc8]
add r1, pc
push {r4, r5, lr}
mov r5, r0
add.w r0, r1, 0x410
sub sp, 0x10
add ip, pc
ldr r1, [0x00005fcc]
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 0x5f96
--
beq 0x65da
mov r6, r0
ldr r0, [r0]
add r7, sp, 8
mov r4, r6
subs r5, r7, 4
cbz r0, 0x65a8
bl 0x6344
cbz r0, 0x658e
mov.w r2, 0x1000
mov r1, r5
blx 0xf18
movw r3, 0xffe
subs r2, r0, 1
cmp r2, r3
bhi 0x658e
adds r3, r7, r0
movs r2, 0
mov r0, r5
strb r2, [r3, -0x4]
blx sym.imp.__printf_chk
cbz r0, 0x658e
ldrb r3, [r0]
--
ldr r3, [r2, r3]
adds r1, 4
ldr r3, [r3]
str r3, [r1]
mov.w r3, 0
bl 0x6344
cbz r0, 0x6682
add r5, sp, 4
mov.w r2, 0x1000
mov r1, r5
add r4, sp, 8
blx 0xf18
movw r3, 0xffe
subs r2, r0, 1
cmp r2, r3
bhi 0x6682
add r4, r0
movs r3, 0
mov r0, r5
strb r3, [r4, -0x4]
blx sym.imp.__printf_chk
cbz r0, 0x6682
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 0x111c
mov.w r2, 0x1000
mov r1, r5
mov r0, r4
blx 0xf18
movw r2, 0xffe
subs r1, r0, 1
cmp r1, r2
bhi 0x6700
mov r3, r0
movs r2, 0
mov r0, r5
strb r2, [r5, r3]
blx sym.imp.__printf_chk
mov r4, r0
cbz r0, 0x6700

[*] Function printf used 7 times iostat