[*] Binary protection state of syslog-ng-ctl

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


[*] Function printf tear down of syslog-ng-ctl

ldr r2, [0x00001f1c]
add r4, pc
ldr r0, [0x00001f20]
ldr r2, [r4, r2]
add r0, pc
ldr r2, [r2]
str r2, [sp, 4]
mov.w r2, 0
str r3, [sp]
blx 0x17f0
ldr r1, [0x00001f24]
mov r2, sp
mov r4, r0
add r1, pc
bl sym.slng_run_command
mov r5, r0
mov r0, r4
blx sym.imp.fclose
mov r1, r0
mov r0, r4
blx sym.imp.g_string_append_printf
mov r0, r4
blx 0x1878
--
beq.w 0x21de
add r6, sp, 0x10
ldr r5, [0x0000225c]
mov r0, r6
str r4, [sp, 4]
ldr r3, [0x00002260]
add r5, pc
ldr r2, [0x00002264]
ldr r1, [r5]
add r3, pc
add r2, pc
str r1, [sp]
movs r1, 1
blx 0x1890
adds r0, 1
beq 0x21ee
mov r0, r4
blx sym.imp.fclose
mov r1, r0
mov r0, r4
blx sym.imp.g_string_append_printf
mov r0, r4
blx 0x1878
ldr r4, [r5, 8]
cbz r4, 0x2114
mov r0, r4
blx sym.imp.fclose
mov r1, r0
mov r0, r4
blx sym.imp.g_string_append_printf
ldr r0, [sp, 0x10]
bl sym.dispatch_command
ldr r5, [sp, 0x10]
mov r4, r0
mov r0, r5
blx sym.imp.fclose
mov r1, r0
mov r0, r5
blx sym.imp.g_string_append_printf
ldr r0, [sp, 0x10]
blx 0x1878
--
ldr r3, [0x0000224c]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x14]
eors r2, r3
mov.w r3, 0
bne 0x21da
mov r0, r4
add sp, 0x18
pop {r4, r5, r6, pc}
ldr r1, [r2, 4]
cbz r1, 0x2158
ldr r1, [r1]
str r1, [r2]
cmp r1, 0
bne 0x21d6
movs r2, 0
movs r1, 1
mov r0, r3
blx sym.imp.g_snprintf
ldr r1, [0x0000226c]
mov r4, r0
--
blx sym.imp.strcmp
mov r4, r0
mov r0, r5
blx 0x17c0
mov r3, r0
mov r0, r4
str r3, [r4]
pop {r3, r4, r5, pc}
nop
push {r4, r5, r6, r7, lr}
sub sp, 0xc
ldr r5, [r0, 4]
ldr r6, [0x00002680]
add r6, pc
cbz r5, 0x25ea
movs r0, 1
add sp, 0xc
pop {r4, r5, r6, r7, pc}
mov r4, r0
ldr r0, [r0]
blx sym.imp.__printf_chk
movs r1, 1
mov r2, r5

[*] Function printf used 6 times syslog-ng-ctl