[*] Binary protection state of apac-update

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


[*] Function fprintf tear down of apac-update

cbnz r0, 0xdaa
mov r0, r4
blx sym.imp.close
cbnz r0, 0xd82
add sp, 0xc
pop {r4, r5, r6, r7, pc}
ldr r3, [0x00000e08]
ldr r3, [r5, r3]
ldr r5, [r3]
blx sym.imp.__errno_location
ldr r0, [r0]
blx sym.imp.g_strerror
ldr r3, [0x00000e0c]
mov r4, r0
ldr r2, [0x00000e10]
movs r1, 1
mov r0, r5
str r4, [sp]
add r3, pc
add r2, pc
blx sym.imp.__fprintf_chk
add sp, 0xc
pop {r4, r5, r6, r7, pc}
ldr r3, [0x00000e08]
ldr r3, [r5, r3]
ldr r7, [r3]
blx sym.imp.__errno_location
ldr r0, [r0]
blx sym.imp.g_strerror
mov r2, r0
mov r3, r6
str r2, [sp]
mov r0, r7
ldr r2, [0x00000e14]
movs r1, 1
add r2, pc
blx sym.imp.__fprintf_chk
mov r0, r4
blx sym.imp.close
cmp r0, 0
beq 0xd7e
b 0xd82
ldr r3, [0x00000e08]
ldr r3, [r5, r3]
ldr r5, [r3]
blx sym.imp.__errno_location
ldr r0, [r0]
blx sym.imp.g_strerror
ldr r2, [0x00000e18]
mov r4, r0
mov r3, r6
movs r1, 1
mov r0, r5
str r4, [sp]
add r2, pc
blx sym.imp.__fprintf_chk
add sp, 0xc
pop {r4, r5, r6, r7, pc}
--
blx sym.imp.__errno_location
ldr r0, [r0]
cmp r0, 2
bne 0xe80
mov r0, r5
movs r4, 1
blx sym.imp.g_free
mov r0, r4
add sp, 8
pop {r4, r5, r6, pc}
bl 0xd58
b 0xe4c
ldr r3, [0x00000eb4]
mov r4, r0
ldr r2, [0x00000eb8]
movs r1, 1
mov r5, r4
ldr r3, [r6, r3]
add r2, pc
ldr r0, [r3]
blx sym.imp.__fprintf_chk
mov r0, r5
blx sym.imp.g_free
mov r0, r4
add sp, 8
pop {r4, r5, r6, pc}
ldr r3, [0x00000eb4]
ldr r3, [r6, r3]
ldr r4, [r3]
blx sym.imp.g_strerror
ldr r2, [0x00000ebc]
mov r3, r5
movs r1, 1
str r0, [sp]
mov r0, r4
movs r4, 0
add r2, pc
blx sym.imp.__fprintf_chk
mov r0, r5
blx sym.imp.g_free

[*] Function fprintf used 5 times apac-update