[*] Binary protection state of libnsl.so.1
Full RELRO No Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libnsl.so.1
cbnz r2, 0x6078
movw r1, 0x87cc
strd r2, r2, [sp]
mov r0, r7
movt r1, 1
movs r2, 3
blx 0x2fc4
str r0, [r4]
cmp r0, 0
beq 0x60b4
ldr r2, [0x000062c0]
movs r1, 1
ldr r3, [r0, 4]
add r2, pc
ldr r3, [r3, 0x14]
adds r2, 8
blx r3
ldr r0, [r4, 0x38]
movs r2, 1
movs r1, 2
blx sym.imp.asprintf
adds r0, 1
beq.w 0x61ba
--
movs r5, 0
strh r3, [r0, 4]
add.w r3, r0, 0xc
ldm.w r8, {r0, r1}
add r2, pc
str.w sb, [r2, 0xc]
stm.w r3, {r0, r1}
dmb ish
ldrex r3, [r2]
strex r1, r5, [r2]
cmp r1, 0
bne 0x6186
cmp r3, 1
bgt 0x6270
ldr r5, [r4]
add.w r1, r6, 0x10
mov r0, r7
movs r3, 0
mov.w r2, 0x12c
str.w r8, [sp]
blx sym.imp.printf
str r0, [r5]
ldr r4, [r4]
--
add.w r1, r4, 0x2c
blx 0x2cf8
add sp, 0xc
pop {r4, r5, pc}
add.w r1, r4, 0x24
mov r0, r5
blx 0x2c48
cmp r0, 0
beq 0x7b10
ldr r2, [0x00007c0c]
movs r1, 4
add r2, pc
b 0x7b7e
add.w r1, r4, 0x24
mov r0, r5
add sp, 0xc
pop.w {r4, r5, lr}
b 0x79e8
add.w r1, r4, 0x2c
mov r0, r5
blx sym.imp.__asprintf
cmp r0, 0
beq 0x7b10
[*] Function printf used 3 times libnsl.so.1