[*] Binary protection state of pidstat

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


[*] Function printf tear down of pidstat

mov r0, r4
blx 0x10ec
movs r3, 0
mov r5, r0
cmp r0, 0
beq 0x27e6
str.w r3, [r7, 0xa8]
b 0x2794
blx 0x1164
ldrb r2, [r4, 0xb]
ldr r3, [r0]
ldrh.w r3, [r3, r2, lsl 1]
lsls r3, r3, 0x14
bmi 0x27c8
mov r0, r5
blx sym.imp.strrchr
mov r4, r0
cmp r0, 0
bne 0x2784
mov r0, r5
blx sym.imp.__snprintf_chk
ldr r3, [r6, 0x3c]
bic r3, r3, 2
--
cmp r0, 0
beq 0x290c
movs r2, 1
mov r1, r0
str r2, [r0, 0x38]
mov r3, r6
add r2, sp, 8
mov r0, sb
str.w r8, [sp]
bl 0x2804
cmp r0, 0
beq 0x290c
movs r3, 0
mov r0, r5
str r3, [r4, 0x38]
blx sym.imp.strrchr
mov r4, r0
cmp r0, 0
bne 0x2916
mov r0, r5
blx sym.imp.__snprintf_chk
ldr r2, [0x000029a0]
ldr r3, [0x00002994]
--
mov r4, r0
cmp r0, 0
beq 0x2aa2
movs r3, 1
mov r1, r0
str r3, [r0, 0x38]
add r2, sp, 8
movs r3, 0
mov r0, sb
str r6, [sp]
bl 0x2804
cbz r0, 0x2b06
movs r3, 0
mov r0, r5
str r3, [r4, 0x38]
blx sym.imp.strrchr
mov r4, r0
cmp r0, 0
bne 0x2aac
mov r0, r5
blx sym.imp.__snprintf_chk
b 0x2a4a
ldr.w r3, [r8, 8]
--
ldr r0, [0x000053ac]
movs r0, r0
ldr r1, [0x000052f8]
movs r0, r0
ldr r3, [0x0000506c]
movs r0, r0
ldr r0, [0x000052f0]
movs r0, r0
ldr r0, [0x00005374]
movs r0, r0
push.w {r4, r5, r6, r7, r8, sb, sl, fp, lr}
mov r7, r1
ldr r1, [0x0000527c]
sub sp, 0x24
mov r6, r0
mov sb, r2
movs r0, 1
movs r2, 0
add r1, pc
mov fp, r3
blx sym.imp.__fprintf_chk
adds r0, 1
beq.w 0x526e
--
strb.w fp, [r6, 0x3ff]
add.w fp, sp, 0x20
mov r0, r6
mov r1, fp
blx 0x114c
cmp r0, 0
blt 0x652c
ldr r3, [sp, 0x30]
and r3, r3, 0xf000
cmp.w r3, 0x4000
bne 0x652c
ldr r3, [sp, 0x14]
cbnz r3, 0x65d0
mov r0, r5
adds r7, 1
blx sym.imp.strrchr
mov r4, r0
cmp r0, 0
bne 0x6538
mov r0, r5
blx sym.imp.__snprintf_chk
adds r0, r7, 1
ldr r2, [0x00006604]
--
blx sym.imp.abort
mov r5, r0
cmp r0, 0
bne 0x6c0e
mov r1, r4
add.w r4, sp, 0x2000
adds r4, 0x28
mov.w r2, 0x100
subs r3, r4, 4
mov r0, r3
blx 0x1204
ldrd r1, r2, [sp, 0x18]
strb.w r5, [r4, 0xffb]
bl 0x6ad0
cmp r0, 0
bne 0x6c0e
mov r4, r0
b 0x6cba
mov.w r4, -1
mov r0, r7
blx sym.imp.__snprintf_chk
ldr r2, [0x00006d08]
add.w r1, sp, 0x3000
--
mov.w r3, 0x400
ldr r1, [0x00006ef0]
ldr.w ip, [0x00006ef4]
add r1, pc
push {r4, r5, lr}
mov r5, r0
add.w r0, r1, 0x10
sub sp, 0x10
add ip, pc
ldr r1, [0x00006ef8]
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 0x6ebe
--
mov.w r3, 0x400
ldr r1, [0x00006f84]
ldr.w ip, [0x00006f88]
add r1, pc
push {r4, r5, lr}
mov r5, r0
add.w r0, r1, 0x410
sub sp, 0x10
add ip, pc
ldr r1, [0x00006f8c]
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 0x6f56
--
orrs r2, r5
bic r3, r3, 0xff
orrs r3, r1
ldr r1, [sp, 0x14]
cmp r3, sl
it eq
cmpeq r2, r1
bne 0x8b08
ldr r6, [0x00008bec]
mov r1, r4
mov r5, r0
movs r2, 0x80
add r6, pc
sub.w r4, r6, 0xa8
mov r0, r4
blx 0x1204
strb r5, [r6, -0x29]
b 0x8b82
mov r4, r0
mov r0, r7
blx sym.imp.__snprintf_chk
ldr r2, [0x00008bf0]
ldr r3, [0x00008bd8]

[*] Function printf used 9 times pidstat