[*] Binary protection state of libext2fs.so.2.4

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


[*] Function printf tear down of libext2fs.so.2.4

pop.w {r4, r5, r6, r7, r8, sb, sl, pc}
ldr r3, [r4, 0x10]
ldr r2, [r3, 0x14]
movs r3, 0
cmp r3, r8
it eq
cmpeq r2, r6
beq 0xe2b6
subs r6, 1
mov r0, r7
adc r1, r8, -1
str.w sb, [sp, 8]
str r6, [sp]
str r1, [sp, 4]
blx 0xb0b8
cmp r0, 0
bne 0xe2b2
ldrd r2, r3, [sp, 0x18]
strd r2, r3, [sp, 0x10]
mov r0, r4
blx sym.imp.__snprintf_chk
mov r1, r0
mov r0, r4
--
b 0xe8ce
blx 0xbaac
cmp sb, r0
sbcs.w r1, r8, r1
blo.w 0xe7bc
ldr r0, [r7, 0x10]
b 0xe7b4
ldr r1, [sp, 0x3c]
ldr r7, [sp, 0x38]
strd r5, r3, [r1]
ldr r1, [sp, 0x40]
strd r0, lr, [r1]
cmp r5, r4
sbcs.w r2, r3, r6
it lo
movlo r8, r3
bhs 0xe98e
mov r3, r8
mov r2, r5
mov r0, r7
blx sym.imp.__snprintf_chk
mov r1, r0
mov r0, r7
--
add r0, pc
b.w 0xb4cc
add r2, r3
mov r1, r5
subs r2, r2, r6
mov r0, r4
blx 0xc010
b 0xec4c
subs r7, 0xf6
movs r2, r0
ands r0, r2
movs r2, r0
movs r3, 0
b.w 0xb1d4
nop
push.w {r4, r5, r6, r7, r8, lr}
mov r4, r0
mov r6, r2
mov r7, r3
ldr.w r8, [sp, 0x18]
blx sym.imp.__snprintf_chk
mov r5, r0
ldr r0, [r4, 0x10]
--
blo 0xee86
cmp r6, 0
beq 0xee9e
ldr r0, [r4, 0x30]
mov r2, sb
mov r3, fp
str r7, [sp]
ble 0xeea4
blx 0xb1b0
movs r3, 1
str r3, [sp, 0x18]
cmp r7, 0
beq.w 0xef32
ldr r3, [sp, 0x18]
mov r5, sb
asrs r3, r3, 0x1f
str r3, [sp, 0x1c]
mov r2, r5
mov r3, fp
mov r0, r4
blx sym.imp.__snprintf_chk
mov r6, r0
mov r0, r4
--
blx 0xb7e8
movw r3, 0xb748
ldr r1, [sp, 0x2c]
movt r3, 0x7f2b
mov r8, r0
cmp r0, r3
beq.w 0xf5b0
cmp.w r8, 0
bne 0xf14c
ldrd r2, r3, [sp, 0x38]
mov r0, r7
blx 0xc08c
ldr r1, [sp, 0x18]
mov r0, r4
ldrd r2, r3, [sp, 0x38]
blx 0xb058
cmp.w sb, 0
beq.w 0xf10c
ldrd r2, r3, [sp, 0x38]
mov r0, r4
blx sym.imp.__snprintf_chk
mov r5, r0
mov r0, r4
--
cmp r1, 0
beq.w 0xf0ee
mov sl, r3
str r3, [sp, 0x24]
b 0xf172
ldr r3, [r4, 0x28]
mov r0, r7
str r3, [sp]
ldrd r2, r3, [sp, 0x38]
blx 0xb1b0
cmp.w sb, 0
beq.w 0xf5fc
ldr r6, [r4, 0x28]
mov sl, r8
ldr r5, [sp, 0x38]
ldr.w sb, [sp, 0x3c]
cbz r6, 0xf31a
mov r2, r5
mov r3, sb
mov r0, r4
blx sym.imp.__snprintf_chk
mov r8, r0
mov r0, r4
--
blx 0xb7e8
movw r3, 0xb748
mov r8, r0
movt r3, 0x7f2b
movs r1, 1
cmp r0, r3
beq 0xf51c
cmp.w r8, 0
bne.w 0xf14c
ldrd r2, r3, [sp, 0x38]
mov r0, r7
blx 0xc08c
ldr r1, [sp, 0x18]
mov r0, r4
ldrd r2, r3, [sp, 0x38]
blx 0xbee8
cmp.w sb, 0
beq.w 0xf11e
ldrd r2, r3, [sp, 0x38]
mov r0, r4
blx sym.imp.__snprintf_chk
mov r5, r0
mov r0, r4
--
strd r5, r3, [r2, 0xe0]
ldr r2, [r4, 8]
ldr r1, [r0, 0x5c]
orr r2, r2, 6
orr r1, r1, 4
str r1, [r0, 0x5c]
str r2, [r4, 8]
b 0x237b8
blx 0xbe58
b 0x2392e
ldr r0, [r4, 0x10]
blx 0xbaac
ldr r3, [r4, 0x10]
ldr r2, [r3, 0x14]
subs r2, r0, r2
mov r0, r4
lsr.w r2, r2, 1
sbc r3, r1, 0
orr.w r2, r2, r3, lsl 31
lsrs r3, r3, 1
blx sym.imp.__snprintf_chk
ldr r3, [r4, 0x10]
mov r2, r0

[*] Function printf used 8 times libext2fs.so.2.4