[*] Binary protection state of lsattr.e2fsprogs
Full RELRO Canary found NX enabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of lsattr.e2fsprogs
bne 0xc64
ldr r3, [0x00000d00]
add r3, pc
ldr r3, [r3, 4]
cmp r3, 0
bne 0xc7e
ldr r5, [0x00000d04]
add r5, pc
ldr r2, [r5, 8]
lsls r3, r2, 0x1f
bmi 0xc40
ldr r3, [0x00000d08]
ldr r1, [sp]
ldr r3, [r6, r3]
ldr r0, [r3]
blx sym.imp.print_flags
ldr r1, [0x00000d0c]
mov r2, r4
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
movs r0, 0
ldr r2, [0x00000d10]
ldr r3, [0x00000cf4]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0xc]
eors r2, r3
mov.w r3, 0
bne 0xcea
add sp, 0x10
pop {r4, r5, r6, pc}
ldr r1, [0x00000d14]
mov r2, r4
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
ldr r3, [0x00000d08]
ldr r1, [sp]
ldr r2, [r5, 8]
ldr r4, [r6, r3]
ldr r0, [r4]
blx sym.imp.print_flags
ldr r1, [r4]
movs r0, 0xa
blx sym.imp.fputc
b 0xc26
add r1, sp, 8
mov r0, r4
blx sym.imp.fgetproject
adds r0, 1
beq 0xcb6
ldr r1, [0x00000d18]
movs r0, 1
ldr r2, [sp, 8]
add r1, pc
blx sym.imp.__printf_chk
b 0xbfa
add r1, sp, 4
mov r0, r4
blx sym.imp.fgetversion
adds r0, 1
beq 0xcd0
ldr r1, [0x00000d1c]
movs r0, 1
ldr r2, [sp, 4]
add r1, pc
blx sym.imp.__printf_chk
b 0xc04
ldr r3, [0x00000d20]
--
mov r0, r8
blx sym.imp.strlen
add r0, r5
add sb, pc
adds r0, 2
blx sym.imp.malloc
cmp r0, 0
beq 0xef2
mov r4, r0
cbz r5, 0xe22
add r5, r7
ldrb r3, [r5, -0x1]
cmp r3, 0x2f
beq 0xeda
ldr r3, [0x00000f18]
mov.w r2, -1
movs r1, 1
mov r0, r4
strd r7, r8, [sp]
add r3, pc
blx sym.imp.__sprintf_chk
add r1, sp, 8
mov r0, r4
--
beq 0xe50
ldrb r3, [r6, 0xb]
cmp r3, 0x2e
bne 0xe9c
ldrb.w r3, [r8, 1]
cmp r3, 0
beq 0xe50
ldrb r3, [r6, 0xb]
cmp r3, 0x2e
bne 0xeb2
ldrb.w r3, [r8, 1]
cmp r3, 0x2e
bne 0xeb2
ldrb.w r3, [r8, 2]
cmp r3, 0
beq 0xe50
ldr r1, [0x00000f28]
mov r2, r4
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
ldr r1, [0x00000f2c]
movs r2, 0
mov r0, r4
add r1, pc
blx sym.imp.iterate_on_dir
movs r0, 0xa
blx sym.imp.putchar
b 0xe50
mov r0, r4
blx sym.imp.perror
b 0xe50
ldr r3, [0x00000f30]
mov.w r2, -1
movs r1, 1
strd r7, r8, [sp]
add r3, pc
blx sym.imp.__sprintf_chk
b 0xe36
blx sym.imp.__stack_chk_fail
[*] Function printf used 7 times lsattr.e2fsprogs