[*] Binary protection state of libz.so.1.2.11
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libz.so.1.2.11
mvneq r3, 3
mov r6, r0
str r0, [r4, 0x60]
streq r3, [r4, 0x5c]
beq 0xb164
mov r0, r7
bl sym.imp.strlen
mov r4, r0
mov r0, r5
bl sym.imp.strlen
ldr r3, [0x0000b16c]
ldr r2, [0x0000b170]
add r3, pc, r3
str r3, [sp]
str r5, [sp, 4]
mov r3, r7
add r2, pc, r2
add r1, r4, r0
add r1, r1, 3
mov r0, r6
bl sym.imp.snprintf
add sp, sp, 0xc
pop {r4, r5, r6, r7, pc}
--
ldr sl, [0x0000b440]
cmp fp, sl
bne 0xb2dc
ldr r3, [r4, 0x2c]
cmp r3, 0
moveq r3, 1
streq r3, [r4, 0x2c]
bne 0xb204
mov r0, r8
bl sym.imp.strlen
add fp, r0, 1
mov r0, fp
bl sym.imp.malloc
cmp r0, 0
str r0, [r4, 0x18]
beq 0xb204
ldr r2, [0x0000b444]
mov r1, fp
mov r3, r8
add r2, pc, r2
bl sym.imp.snprintf
ldr r2, [r4, 0x10]
cmp sb, 0
--
mov r2, r1
mvn r1, 0
b 0xb174
b sym.gzopen64
cmn r0, 1
push {r4, r5, r6, lr}
bne 0xb474
mov r4, 0
mov r0, r4
pop {r4, r5, r6, pc}
mov r4, r0
mov r0, 0x13
mov r5, r1
bl sym.imp.malloc
subs r6, r0, 0
beq 0xb468
ldr r2, [0x0000b4c0]
mov r3, r4
add r2, pc, r2
mov r1, 0x13
bl sym.imp.snprintf
mov r1, r4
mov r2, r5
--
str r3, [r4, 0x58]
mov r0, r4
ldrd r2, r3, [r4, 0x50]
bl 0xc6ac
cmn r0, 1
beq 0xcb34
ldr r3, [r4, 0x68]
ldr r2, [r4, 0x24]
cmp r3, 0
streq r2, [r4, 0x64]
ldr r7, [r4, 0x64]
mov r6, 0
add r7, r7, r3
ldr r3, [r4, 0x1c]
mov r2, r5
add r3, r7, r3
strb r6, [r3, -1]
mov r0, r7
mov r3, r8
ldr r1, [r4, 0x1c]
bl sym.imp.vsnprintf
subs r5, r0, 0
beq 0xcb38
[*] Function printf used 4 times libz.so.1.2.11