[*] Binary protection state of libtfgetent.so

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


[*] Function printf tear down of libtfgetent.so

str r3, [r5]
mov.w r3, 0
blx sym.imp.parse_dec_number
cmp r0, 1
beq 0xd1c
sub.w r3, r4, 0x1c
mov r5, r0
str r3, [sp]
mov r0, r6
mov.w r3, 0x1000
subs r2, r4, 4
sub.w r1, r4, 0x10
blx sym.imp.getprotobyname_r
ldr r3, [r4, -0x1c]
cbz r3, 0xcf8
cbnz r5, 0xd3c
ldr r1, [0x00000d54]
mov r0, r7
ldr r2, [r3, 8]
add r1, pc
blx sym.imp.g_string_append_printf
ldr r2, [0x00000d58]
add.w r1, sp, 0x1020
--
beq 0xddc
mov.w r3, 0x1000
subs r4, 4
str r3, [sp]
mov r5, r0
add r3, sp, 0x2c
mov r0, r7
add r2, sp, 0x1c
movs r1, 0
str r4, [sp, 4]
blx sym.imp.getservbyname_r
ldr r3, [sp, 0xc]
cbz r3, 0xdb8
cbnz r5, 0xdfc
ldr r2, [r3, 8]
mov r0, r6
ldr r1, [0x00000e14]
rev16 r2, r2
uxth r2, r2
add r1, pc
blx sym.imp.g_string_append_printf
ldr r2, [0x00000e18]
add.w r1, sp, 0x1020
--
lsls r0, r1, 0xe
movs r0, r0
lsls r0, r4, 0xe
movs r0, r0
lsls r2, r3, 0xe
movs r0, r0
lsls r4, r2, 0xd
movs r0, r0
lsls r0, r1, 0xd
movs r0, r0
lsls r0, r0, 0xd
movs r0, r0
lsls r2, r7, 0xc
movs r0, r0
mov r0, r2
ldr r2, [r1]
ldr r1, [0x00000fa8]
push {r3, lr}
movs r3, 0
add r1, pc
blx sym.imp.g_string_append_printf
movs r0, 1
pop {r3, pc}

[*] Function printf used 3 times libtfgetent.so