[*] Binary protection state of cifsiostat

  
  	Full RELRO     Canary found      NX enabled   PIE enabled  No RPATH     No RUNPATH   No Symbols


[*] Function printf tear down of cifsiostat

movs r0, r0
subs r7, 0x3a
movs r0, r0
push.w {r4, r5, r6, r7, r8, sb, sl, lr}
mov r6, r0
ldr r0, [0x00001c6c]
mov r4, r1
movs r5, 1
sub sp, 0x18
ldr r3, [0x00001c70]
movs r2, 0
add r0, pc
ldr r1, [0x00001c74]
ldr r3, [r0, r3]
mov r0, r5
add r1, pc
ldr r3, [r3]
str r3, [sp, 0x14]
mov.w r3, 0
str r5, [sp, 0x10]
blx sym.imp.__fprintf_chk
adds r0, 1
beq 0x1c58
--
strb.w fp, [r6, 0x3ff]
add.w fp, sp, 0x20
mov r0, r6
mov r1, fp
blx 0xf50
cmp r0, 0
blt 0x2a84
ldr r3, [sp, 0x30]
and r3, r3, 0xf000
cmp.w r3, 0x4000
bne 0x2a84
ldr r3, [sp, 0x14]
cbnz r3, 0x2b28
mov r0, r5
adds r7, 1
blx sym.imp.isatty
mov r4, r0
cmp r0, 0
bne 0x2a90
mov r0, r5
blx sym.imp.__snprintf_chk
adds r0, r7, 1
ldr r2, [0x00002b5c]
--
blx sym.imp.abort
mov r5, r0
cmp r0, 0
bne 0x3166
mov r1, r4
add.w r4, sp, 0x2000
adds r4, 0x28
mov.w r2, 0x100
subs r3, r4, 4
mov r0, r3
blx 0xff0
ldrd r1, r2, [sp, 0x18]
strb.w r5, [r4, 0xffb]
bl 0x3028
cmp r0, 0
bne 0x3166
mov r4, r0
b 0x3212
mov.w r4, -1
mov r0, r7
blx sym.imp.__snprintf_chk
ldr r2, [0x00003260]
add.w r1, sp, 0x3000
--
mov.w r3, 0x400
ldr r1, [0x00003448]
ldr.w ip, [0x0000344c]
add r1, pc
push {r4, r5, lr}
mov r5, r0
add.w r0, r1, 0x10
sub sp, 0x10
add ip, pc
ldr r1, [0x00003450]
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 0x3416
--
mov.w r3, 0x400
ldr r1, [0x000034dc]
ldr.w ip, [0x000034e0]
add r1, pc
push {r4, r5, lr}
mov r5, r0
add.w r0, r1, 0x410
sub sp, 0x10
add ip, pc
ldr r1, [0x000034e4]
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 0x34ae
--
orrs r2, r5
bic r3, r3, 0xff
orrs r3, r1
ldr r1, [sp, 0x14]
cmp r3, sl
it eq
cmpeq r2, r1
bne 0x5060
ldr r6, [0x00005144]
mov r1, r4
mov r5, r0
movs r2, 0x80
add r6, pc
sub.w r4, r6, 0xa8
mov r0, r4
blx 0xff0
strb r5, [r6, -0x29]
b 0x50da
mov r4, r0
mov r0, r7
blx sym.imp.__snprintf_chk
ldr r2, [0x00005148]
ldr r3, [0x00005130]

[*] Function printf used 6 times cifsiostat