[*] Binary protection state of libkmod.so.2.4.0
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libkmod.so.2.4.0
sub.w sp, sp, 0x1080
add r2, pc
sub sp, 4
add.w r1, sp, 0x1060
ldr r3, [r2, r3]
adds r1, 0x1c
ldr r3, [r3]
str r3, [r1]
mov.w r3, 0
cbz r0, 0x3094
ldr r3, [r0, 0x18]
mov r5, r0
cbz r3, 0x3094
ldr r4, [r3, 0x1c]
cbz r4, 0x30c8
add r6, sp, 0x10
ldr r3, [r4, 8]
mov r1, r6
add.w r0, r3, 8
ldrd r8, r7, [r3]
blx sym.imp.__asprintf_chk
cmp r0, 0
blt 0x3094
--
add r7, pc
ldr r3, [r6, 4]!
cbz r3, 0x3128
ldr r2, [r7]
add.w r8, sp, 0x7c
ldr r3, [r5, 0x14]
mov r0, r8
strd r3, r2, [sp, 4]
movs r2, 1
ldr r3, [0x0000314c]
add r3, pc
str r3, [sp]
mov.w r3, 0x1000
mov r1, r3
blx 0x23d8
mov r0, r8
add.w r8, sp, 0x10
mov r1, r8
ldr.w fp, [r4]
ldr.w sl, [r4, 4]
blx sym.imp.__asprintf_chk
cmp r0, 0
blt 0x3124
--
mov fp, r4
add r7, sp, 0x68
strd r8, sl, [sp, 0x30]
add r3, pc
str r3, [sp, 0x1c]
ldr.w r3, [0x000048c4]
add r3, pc
str r3, [sp, 0x28]
ldr r3, [sp, 0x2c]
str r3, [sp, 0x24]
b 0x3ee2
blx 0x25e4
ldr r3, [r0]
cmp r3, 0
ble.w 0x41aa
ldr r5, [r6, 4]!
cmp r5, 0
beq 0x3f58
mov r1, r7
mov r0, r5
blx sym.imp.__asprintf_chk
mov r4, r0
cmp r0, 0
--
eors r2, r3
mov.w r3, 0
bne 0x5db0
mov r0, r5
add.w sp, sp, 0x1080
add sp, 0x18
pop.w {r4, r5, r6, r7, r8, pc}
blx 0x25e4
ldr r4, [r0]
mov r0, r4
rsbs r5, r4, 0
blx sym.imp.strerror
cmp r6, 0xa
ble 0x5d60
add.w r8, sp, 0x98
movs r2, 0
add.w r3, r8, r6
mov r0, r7
add r1, sp, 8
strb r2, [r3, -0xe]
blx sym.imp.__asprintf_chk
cbnz r0, 0x5d60
ldr r3, [sp, 0x18]
--
movne r3, 0
cmp r0, 0
it eq
orreq r3, r3, 1
mov r6, r0
ldr r2, [r1, r2]
add.w r0, sp, 0x1060
adds r0, 0x1c
ldr r2, [r2]
str r2, [r0]
mov.w r2, 0
cmp r3, 0
bne 0x5fe6
mov r0, r4
bl 0xade8
mov r5, r0
cmp r0, 0
beq 0x5fce
add.w r8, sp, 0x20
sub.w r1, r8, 0x10
blx sym.imp.__asprintf_chk
cmp r0, 0
blt 0x5f8c
[*] Function printf used 5 times libkmod.so.2.4.0