[*] Binary protection state of chattr.e2fsprogs

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


[*] Function printf tear down of chattr.e2fsprogs

lsls r0, r6, 1
movs r0, r0
movs r2, 0x6e
movs r0, r0
movs r2, 0x66
movs r0, r0
b 0xd48
nop
push {r3, lr}
movs r1, 1
ldr r3, [0x00000de8]
ldr.w ip, [0x00000dec]
add r3, pc
ldr r0, [0x00000df0]
ldr r2, [0x00000df4]
ldr.w r4, [r3, ip]
add r0, pc
ldr r3, [r0]
add r2, pc
ldr r0, [r4]
blx sym.imp.__fprintf_chk
movs r0, 1
blx sym.imp.exit
--
ldr r3, [r3]
cmp r3, 0
beq.w 0x1018
mov.w r0, -1
b 0xea2
ldr r3, [0x00001068]
add r3, pc
ldr r0, [r3, 0x30]
cmp r0, 0
beq 0xea2
ldr r1, [0x0000106c]
movs r2, 0
mov r0, r4
add r1, pc
blx sym.imp.iterate_on_dir
b 0xea2
ldr r1, [0x00001070]
mov r2, r4
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
ldr r3, [0x00001074]
movs r2, 0
ldr r1, [sp, 4]
ldr r3, [r6, r3]
ldr r0, [r3]
blx sym.imp.print_flags
movs r0, 0xa
blx sym.imp.putchar
b 0xedc
ldr r1, [0x00001078]
mov r2, r4
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
ldr r3, [0x00001074]
movs r2, 0
ldr r1, [r5, 0xc]
ldr r3, [r6, r3]
ldr r0, [r3]
blx sym.imp.print_flags
movs r0, 0xa
blx sym.imp.putchar
b 0xe3e
ldr r1, [0x0000107c]
mov r2, r4
ldr r3, [r3, 0x24]
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
b 0xe60
ldr r1, [0x00001080]
mov r2, r4
ldr r3, [r3, 0x2c]
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
b 0xe80
mov r0, r4
--
add sp, 8
pop.w {r4, r5, r6, r7, r8, pc}
ldrb r3, [r1, 0xb]
cmp r3, 0x2e
beq 0x111e
mov r0, r5
blx sym.imp.strlen
mov r4, r0
mov r0, r6
blx sym.imp.strlen
add r0, r4
adds r0, 2
blx sym.imp.malloc
mov r8, r0
cbz r0, 0x1132
ldr r3, [0x00001150]
mov.w r2, -1
movs r1, 1
strd r5, r6, [sp]
add r3, pc
blx sym.imp.__sprintf_chk
mov r0, r8
bl 0xdf8

[*] Function printf used 6 times chattr.e2fsprogs