[*] Binary protection state of mdhcp6

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


[*] Function printf tear down of mdhcp6

add r7, sp, 0x10
add r2, pc
mov r6, r0
mov.w sl, 0
mov r0, fp
ldr r3, [r2, r3]
mov sb, r1
ldr r3, [r3]
str r3, [r7, 0x1c]
mov.w r3, 0
str.w sl, [r7, 4]
bl 0x269c
subs r5, r0, 0
bge 0x2354
movs r4, 1
ldr r0, [r7, 4]
blx 0xd78
cmp r5, 0
blt 0x233c
mov r0, r5
blx sym.imp.__snprintf_chk
ldr r2, [0x000023e0]
ldr r3, [0x000023dc]
--
mov r1, r8
bl 0x1b36
mov r0, r4
ldr r2, [r7, 0x5c]
mov r1, sl
bl 0x1b08
ldr r3, [r7, 0x60]
mov.w r2, 0x258
mov r1, r4
mov r0, r5
str r3, [sp, 8]
movs r3, 0xa
strd r3, r2, [sp]
movs r3, 7
mov r2, r6
bl 0x1d9e
mov r4, r0
ldr r0, [r7, 0xc]
blx 0xd78
mov r0, r5
blx sym.imp.__snprintf_chk
b 0x24be
movs r4, 1
--
ldr r2, [0x00002690]
strd r1, r0, [r7, 8]
str r3, [r7, 4]
mov r0, r4
ldr r3, [0x00002694]
add r2, pc
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [r7, 0x64]
mov.w r3, 0
bl 0x269c
subs.w r8, r0, 0
bge 0x2550
movs r4, 0
movs r5, 1
ldr r3, [r7, 8]
cmp.w r8, 0
str r4, [r3]
blt 0x2536
mov r0, r8
blx sym.imp.__snprintf_chk
ldr r2, [0x00002698]
ldr r3, [0x00002694]
--
blx sym.imp.getrandom
subs r4, r0, 0
add r6, pc
blt 0x271a
mov r0, r5
blx sym.imp.abort
movs r3, 4
str r0, [sp, 0xc]
str r3, [sp]
movs r2, 0x11
add r3, sp, 0xc
movs r1, 0x29
mov r0, r4
blx sym.imp.setsockopt
cmp r0, 0
bge 0x26f2
mov r0, r5
blx 0xe30
mov r0, r4
mov.w r4, -1
blx sym.imp.__snprintf_chk
b 0x271a
movs r2, 0x18
--
blx 0xd78
mov r0, r6
blx sym.imp.fflush
ldr r0, [sp, 0xc]
blx sym.imp.fsync
mov r0, r6
blx sym.imp.__syslog_chk
mov r1, r8
mov r0, r7
blx 0xecc
cmp r0, 0
bne 0x2b8c
mov r0, sb
blx 0xea8
movs r1, 0
blx 0xec0
subs r6, r0, 0
blt 0x2b8c
blx sym.imp.fsync
mov r0, r6
blx sym.imp.__snprintf_chk
movs r3, 1
str r3, [r4, 4]
--
movs r0, 0
blx 0xdac
mov r4, r0
bl 0x30e0
subs r5, r0, 0
blt 0x30dc
mov r3, r4
mov.w r2, 0x100
movs r1, 0x12
bl 0x3150
cmp r0, 0
blt 0x30d8
mov r0, r6
blx sym.imp.abort
mov r1, r4
mov r2, r0
mov r0, r5
bl 0x31d8
mov r4, r0
mov r0, r5
blx sym.imp.__snprintf_chk
mov r0, r4
pop {r4, r5, r6, pc}
--
add r2, pc
ldr r3, [r2, r3]
movs r2, 0
ldr r3, [r3]
str r3, [sp, 0xc]
mov.w r3, 0
blx sym.imp.getrandom
subs r4, r0, 0
blt 0x3120
movs r3, 0
mov r1, sp
str r3, [sp]
movs r2, 0xc
strd r3, r3, [r1, 4]
movs r3, 0x10
strh.w r3, [sp]
blx 0xf44
cmp r0, 0
bge 0x3124
mov r0, r4
blx sym.imp.__snprintf_chk
mov.w r4, -1
ldr r2, [0x0000314c]

[*] Function printf used 7 times mdhcp6