[*] Binary protection state of debugfs

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


[*] Function strcat tear down of debugfs

str r4, [sp, 4]
mov.w r4, 0
bl 0xadb4
cbz r0, 0x9976
ldr r2, [0x000099a4]
ldr r3, [0x000099a0]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 4]
eors r2, r3
mov.w r3, 0
bne 0x9996
add sp, 8
pop {r4, pc}
ldr r3, [0x000099a8]
mov r4, r0
ldr r1, [sp]
add r3, pc
ldr r0, [r3]
blx sym.imp.__strcat_chk
mov r1, r0
cmp r0, 0
--
moveq sb, 6
beq.w 0x12aa6
movw r4, 0xb747
movt r4, 0x7f2b
b 0x12b88
mov.w sb, 5
b 0x12aa6
ldr r0, [0x00012c64]
mov r3, r8
ldr r2, [0x00012c68]
mov r1, r4
add r0, pc
add r2, pc
adds r0, 0x10
blx 0x50d8
b 0x12b88
mov.w sb, 4
b 0x12aa6
mov r1, r6
mov r0, r5
blx sym.imp.__strcat_chk
mov r4, r0
cbnz r0, 0x12c3c
--
ldr r2, [r3]
ldr r3, [sp, 0xc]
eors r2, r3
mov.w r3, 0
bne 0x12d60
mov r0, r4
add sp, 0x14
pop.w {r4, r5, r6, r7, r8, sb, pc}
str r4, [sp, 8]
b 0x12cd6
ldr r2, [0x00012d70]
mov r3, r5
ldr r0, [0x00012d74]
mov r1, r4
add r2, pc
add r0, pc
blx 0x50d8
b 0x12cf4
ldr r1, [sp, 8]
mov r0, r6
blx sym.imp.__strcat_chk
mov r4, r0
cbnz r0, 0x12d50
--
ldr r2, [r3]
ldr r3, [sp, 0xc]
eors r2, r3
mov.w r3, 0
bne 0x12e56
mov r0, r4
add sp, 0x10
pop.w {r4, r5, r6, r7, r8, pc}
str r4, [sp, 8]
b 0x12dca
ldr r2, [0x00012e68]
mov r3, r5
ldr r0, [0x00012e6c]
mov r1, r4
add r2, pc
add r0, pc
blx 0x50d8
b 0x12de6
ldr r1, [sp, 8]
mov r0, r6
blx sym.imp.__strcat_chk
mov r4, r0
cbnz r0, 0x12e44
--
mov r0, sl
blx 0x4ec4
mov r0, r8
blx 0x4ec4
ldr r0, [sp, 0x2c]
blx sym.imp.ext2fs_file_close
mov r4, r0
b 0x12f1c
blx sym.imp.__sprintf_chk
ldr r4, [r0]
b 0x12f1c
ldr r2, [0x00013378]
mov r3, r7
mov r0, r7
mov r1, r4
add r2, pc
blx 0x50d8
b 0x12f1c
ldr r1, [sp, 0x28]
mov r0, r6
blx sym.imp.__strcat_chk
mov r4, r0
cmp r0, 0
--
ldr r2, [0x00013bd4]
mov r1, r6
add r0, pc
add r2, pc
adds r0, 0x4c
blx 0x50d8
b 0x1372e
ldr r0, [0x00013bd8]
mov r6, r3
ldr r2, [0x00013bdc]
mov r3, r5
mov r1, r6
ldr r7, [sp, 0x18]
add r0, pc
adds r0, 0x5c
add r2, pc
blx 0x50d8
b 0x1354e
mov r1, sb
mov r0, fp
blx sym.imp.__strcat_chk
mov r3, r0
cmp r0, 0

[*] Function strcat used 6 times debugfs