[*] Binary protection state of syncfile

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


[*] Function fprintf tear down of syncfile

cbnz r3, 0xb5e
ldr r2, [0x00000b88]
ldr r3, [0x00000b80]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 4]
eors r2, r3
mov.w r3, 0
bne 0xb74
add sp, 0xc
ldr lr, [sp], 4
add sp, 0x10
bx lr
ldr.w ip, [0x00000b8c]
add r3, sp, 0x14
str r3, [sp]
movs r1, 1
ldr.w r0, [r0, ip]
ldr r0, [r0]
blx sym.imp.__vfprintf_chk
b 0xb40
blx sym.imp.__stack_chk_fail
--
mov r0, r4
blx sym.imp.close
cmp r0, 0
blt 0xc0e
mov r0, r7
add sp, 0xc
pop {r4, r5, r6, r7, pc}
ldr r3, [0x00000c2c]
ldr r3, [r6, r3]
ldr r7, [r3]
blx sym.imp.__errno_location
ldr r0, [r0]
blx sym.imp.strerror
ldr r2, [0x00000c30]
mov r3, r5
str r0, [sp]
movs r1, 1
mov r0, r7
mov.w r7, -1
add r2, pc
blx sym.imp.__fprintf_chk
b 0xbb0
ldr r3, [0x00000c2c]
ldr r3, [r6, r3]
ldr r6, [r3]
blx sym.imp.__errno_location
ldr r0, [r0]
blx sym.imp.strerror
ldr r2, [0x00000c34]
mov r4, r0
add r2, pc
mov r3, r5
movs r1, 1
mov r0, r6
str r4, [sp]
mov.w r7, -1
blx sym.imp.__fprintf_chk
b 0xbba
ldr r3, [0x00000c2c]
--
bge 0xc90
ldr r3, [0x00000e54]
ldr r5, [r7, r3]
b 0xd98
blx sym.imp.free
ldr r3, [0x00000e54]
ldr r5, [r7, r3]
mov r0, r6
blx sym.imp.closedir
ldr r0, [0x00000e58]
mov r1, r4
add r0, pc
bl 0xb18
mov r0, r4
bl 0xb90
ldr r2, [0x00000e5c]
mov r3, r4
ldr r0, [r5]
movs r1, 1
add r2, pc
blx sym.imp.__fprintf_chk
mov.w r5, -1
b 0xc90
ldr r3, [0x00000e54]
ldr r5, [r7, r3]
ldr r7, [r5]
blx sym.imp.strerror
ldr r2, [0x00000e60]
mov r3, r4
str r0, [sp]
movs r1, 1
mov r0, r7
add r2, pc
blx sym.imp.__fprintf_chk
b 0xd82
ldr r2, [0x00000e64]
ldr r0, [0x00000e54]
add r2, pc
ldr r0, [r7, r0]
mov r3, r4
movs r1, 1
ldr r0, [r0]
blx sym.imp.__fprintf_chk
b 0xda6
ldr r3, [0x00000e54]
ldr r3, [r7, r3]
ldr r6, [r3]
blx sym.imp.__errno_location
ldr r0, [r0]
blx sym.imp.strerror
ldr r2, [0x00000e68]
mov r5, r0
mov r3, r4
movs r1, 1
mov r0, r6
str r5, [sp]
add r2, pc
blx sym.imp.__fprintf_chk
b 0xda6
ldr r2, [0x00000e6c]
ldr r0, [0x00000e54]
add r2, pc
b 0xdce
blx sym.imp.__stack_chk_fail
ldr r3, [0x00000e54]
ldr r5, [r7, r3]
blx sym.imp.__errno_location
ldr r0, [r0]
ldr r6, [r5]
blx sym.imp.strerror
ldr r2, [0x00000e70]
mov r3, r4
str r0, [sp]
movs r1, 1
mov r0, r6
add r2, pc
blx sym.imp.__fprintf_chk
b 0xd98
nop

[*] Function fprintf used 8 times syncfile