[*] Binary protection state of libmount.so.1.1.0

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


[*] Function printf tear down of libmount.so.1.1.0

add sp, 0xfc
pop.w {r4, r5, r6, r7, lr}
b 0xbbcc
ldr r1, [0x0000c1d0]
ldr r5, [r0]
ldr r1, [r3, r1]
ldr r1, [r1]
lsls r1, r1, 0x1b
bmi 0xc176
lsls r2, r2, 0x1e
bmi 0xc158
movs r1, 0x40
mov.w r2, 0x1a4
movt r1, 8
mov r0, r5
blx 0x7f28
cmp r0, 0
str r0, [r4, 8]
blt 0xc12e
add r1, sp, 8
blx sym.imp.__vsnprintf_chk
cmp r0, 0
blt 0xc12e
--
b.w 0x2028c
b.w 0x1d9a0
nop
push.w {r4, r5, r6, r7, r8, lr}
sub sp, 8
ldr r6, [0x00018b10]
add r6, pc
cmp r0, 0
beq.w 0x18af2
mov r4, r0
blx sym.imp.ioctl
cmp r0, 0
beq.w 0x18aec
ldr r3, [0x00018b14]
ldr r7, [r6, r3]
ldr r3, [r7]
lsls r5, r3, 0x16
bmi 0x18a28
bics r3, r3, 2
bne 0x18a1c
blx sym.imp.snprintf
mov r5, r0
adds r0, r5, 1
--
ldr r6, [r5, 0x10]
cbz r6, 0x19088
mov r0, r6
blx 0x81dc
mov r6, r0
cbz r0, 0x190ac
ldr r0, [r4, 0x10]
blx 0x7aa0
ldr r2, [r5, 0x44]
mov r0, r4
str r6, [r4, 0x10]
ldr r3, [r5, 0x48]
strd r2, r3, [r4, 0x44]
blx sym.imp.open64
ldrd r2, r3, [r5, 0x2c]
mov r0, r4
strd r2, r3, [r4, 0x2c]
add sp, 8
pop {r4, r5, r6, pc}
mov r0, r4
blx sym.imp.__sprintf_chk
movs r4, 0
mov r0, r4
--
blx sym.imp.wcwidth
cbz r0, 0x1cd6e
mov r1, r5
blx 0x7c40
mov r6, r0
b 0x1cd70
movs r6, 0
ldr r0, [sp, 0x28]
cmp r0, 0
blt 0x1ccf6
bl 0x171e0
b 0x1ccf6
ldr r5, [sp, 0x24]
ldr r3, [r5]
adds r3, 1
bne.w 0x1d012
ldr r3, [sp, 0x18]
ldr r3, [r3]
bics r3, r3, 2
bne.w 0x1d156
blx sym.imp.snprintf
adds r6, r0, 1
mov r5, r0
--
beq.w 0x21af2
ldr r3, [r4, 0x78]
lsls r1, r3, 9
bpl.w 0x21adc
ldr.w r7, [r4, 0x84]
cmp r7, 1
bne.w 0x21ac6
mov r0, r4
blx 0x7550
mov r8, r0
cmp r0, 0
bne.w 0x214d8
ldr r3, [r6]
adds r3, 1
bne.w 0x215a0
ldr.w r3, [0x00021b34]
ldr r7, [r5, r3]
ldr r3, [r7]
bics r3, r3, 2
bne.w 0x216e0
blx sym.imp.snprintf
adds r3, r0, 1
mov r6, r0
--
strb r6, [r4, 4]
movs r1, r0
cmp r2, 0x10
movs r1, r0
subs r2, r4, r0
movs r1, r0
subs r0, r0, r0
movs r1, r0
ldr r0, [r5, 0x7c]
movs r1, r0
ldr r2, [0x00023d94]
ldr r3, [0x00023d98]
push {lr}
sub sp, 0x74
add r2, pc
mov r1, sp
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x6c]
mov.w r3, 0
blx sym.imp.__vsnprintf_chk
cbnz r0, 0x23d8a
ldr r0, [sp, 0x10]
--
mov.w r1, 0x1260
mov r2, r6
mov r0, r5
blx 0x7c64
cmp r0, 0
blt 0x23f3e
ldr r3, [sp]
lsrs r2, r3, 0x17
lsls r3, r3, 9
strd r3, r2, [r4]
b 0x23f06
mov.w r1, 0x204
mov r2, r6
movt r1, 0x801c
mov r0, r5
blx 0x7c64
cmp r0, 0
bge 0x23f32
mov r1, r6
mov r0, r5
blx sym.imp.__vsnprintf_chk
ldr r3, [sp, 0x10]
and r3, r3, 0xf000
--
str r0, [sp, 0x6c]
mov.w r0, 0
mov r0, r6
blx sym.imp.malloc
cmp r0, 0
mov r5, r0
bge 0x240c4
ldr r2, [0x00024130]
ldr r3, [0x0002412c]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x6c]
eors r2, r3
mov.w r3, 0
bne 0x24124
mov r0, r5
add sp, 0x70
pop {r4, r5, r6, pc}
mov r1, sp
blx sym.imp.__vsnprintf_chk
cmp r0, 0
blt 0x24110
--
ldr r3, [0x00024d94]
push.w {r4, r5, r6, r7, r8, sb, sl, lr}
add r2, pc
vpush {d8}
sub sp, 0x20
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x1c]
mov.w r3, 0
cmp r0, 0
beq 0x24b40
ldrsb.w r3, [r0]
mov r5, r0
cmp r3, 0
beq 0x24b40
add r0, sp, 0x14
blx 0x87e4
mov r4, r0
cmp r0, 0
bne 0x24b40
blx sym.imp.snprintf
adds r3, r0, 1
mov r6, r0
--
cbz r0, 0x2576e
movs r1, 0x2f
blx sym.imp.strtoll
cbz r0, 0x2576e
movs r3, 0
strb r3, [r0], 1
pop {r3, pc}
ldr r2, [0x00025880]
ldr r3, [0x00025884]
push.w {r4, r5, r6, r7, r8, sb, lr}
mov r8, r1
add r2, pc
vpush {d8}
sub sp, 0x7c
mov r7, r0
ldr r3, [r2, r3]
add r1, sp, 8
ldr r3, [r3]
str r3, [sp, 0x74]
mov.w r3, 0
blx sym.imp.__vsnprintf_chk
mov r5, r0
adds r0, 1
--
ldr r2, [0x00027b90]
add r4, pc
ldrb.w r0, [r4, 0x2d8]
add r3, pc
str r5, [r3, 8]
add r2, pc
str r3, [r4]
ands r5, r0, 1
str r1, [r4, 8]
str.w r2, [r4, 0x2dc]
bne 0x27a20
mov r6, sp
mov r0, r6
blx 0x87e4
cmp r0, 0
blt 0x27aae
ldr r3, [sp, 4]
mov r0, r5
str r3, [r4, 8]
blx 0x7c00
blx sym.imp.snprintf
cmp r0, 0
str r0, [r4, 4]
--
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x8c]
eors r2, r3
mov.w r3, 0
bne 0x27b06
add sp, 0x90
pop.w {r4, r5, r6, r7, r8, pc}
movs r1, 1
mov r0, r5
blx 0x7b08
cmp r0, 0
beq 0x2799e
b 0x279f2
ldr r5, [0x00027b98]
add r5, pc
b 0x27938
movs r0, 0
blx 0x7c00
blx sym.imp.snprintf
cmp r0, 0
str r0, [r4, 4]
--
mov r0, r6
str.w r8, [r5, 0xa8]
orrs r3, r2
it ne
strne r2, [r5, 0xac]
mov r2, fp
blx 0x7c64
cmp r0, 0
blt.w 0x2ec24
cmp r4, 0
bne.w 0x2ed14
mov.w sl, 0
ldrd r3, r2, [r5, 0xc8]
orrs r3, r2
bne 0x2ead2
ldrd r3, r2, [r5, 0xd0]
orrs r3, r2
beq.w 0x2ece8
add r1, sp, 0x20
mov r0, r8
blx sym.imp.__vsnprintf_chk
cmp r0, 0
bne.w 0x2ed7c
--
ldr r2, [0x00031270]
mov r3, r0
movs r1, 1
mov r0, r6
add r2, pc
str r2, [sp, 4]
ldr r2, [0x00031274]
add r2, pc
str r2, [sp]
ldr r2, [0x00031278]
add r2, pc
blx 0x82b0
ldr r1, [0x0003127c]
mov r3, r4
mov r2, r7
mov r0, r5
add r1, pc
bl 0x305e8
b 0x3116e
mov r1, r6
blx sym.imp.__vsnprintf_chk
mov r4, r0
cmp r4, 0

[*] Function printf used 14 times libmount.so.1.1.0