[*] 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, 0x6a3e
movw r1, 0x87cc
strd r2, r2, [sp]
mov r0, r7
movt r1, 1
movs r2, 3
blx 0x39c0
str r0, [r4]
cmp r0, 0
beq 0x6a64
ldr r2, [0x00006c5c]
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 0x6b72
--
add r2, pc
str.w sb, [r2, 0xc]
stm.w r3, {r0, r1}
ldr r0, [0x00006c7c]
movs r2, 0
dmb ish
add r0, pc
ldrex r3, [r0]
strex r1, r2, [r0]
cmp r1, 0
bne 0x6b3a
cmp r3, 1
ble 0x6b4e
blx 0x34cc
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 0x3718
add sp, 0xc
pop {r4, r5, pc}
add.w r1, r4, 0x24
mov r0, r5
blx 0x3668
cmp r0, 0
beq 0x84b8
ldr r2, [0x000085b4]
movs r1, 4
add r2, pc
b 0x8526
add.w r1, r4, 0x24
mov r0, r5
add sp, 0xc
pop.w {r4, r5, lr}
b 0x8390
add.w r1, r4, 0x2c
mov r0, r5
blx sym.imp.__asprintf
cmp r0, 0
beq 0x84b8

[*] Function printf used 3 times libnsl.so.1