[*] Binary protection state of systemctl

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


[*] Function printf tear down of systemctl

mvnge r4, 0x55
ldr r0, [sp, 0x48]
cmp r0, 0
beq.w 0x97c8
add.w r7, r0, 8
b 0x9d0a
adds r7, 8
ldr r3, [r7, -0x8]
cmp r3, 0
beq.w 0x9870
ldr r0, [r7, -0x4]
cmp r0, 0
beq.w 0x9870
blx 0x5ec4
ldr r3, [0x0000a0ac]
ldr r3, [r6, r3]
ldrb r3, [r3]
cmp r3, 0
bne 0x9d08
ldr r0, [r7, -0x8]
blx sym.imp.__fprintf_chk
mov r8, r0
cmp r0, 0
--
mvn r3, 0x15
add r2, sp, 0x20
str r3, [sp, 0x20]
mov r0, r6
ldr r1, [r4, -0x4]
bl 0x1ae00
ldr r3, [sp, 0x20]
cmp r3, 5
bhi 0xbd98
tbb [0x0000bd50]
lsls r3, r0, 0xc
movs r6, 0x1f
subs r3, r0, 4
blx sym.imp.table_add_cell_full
cmp r0, 0
bne 0xbdf2
ldr r2, [0x0000be4c]
add r2, pc
ldr r0, [sp, 0x20]
str r2, [sp, 0x14]
blx sym.imp.__printf_chk
blx 0x6198
mov sl, r0
--
str r3, [sp, 0x50]
movs r3, 0
add.w fp, sp, 0x7c
str r3, [r7]
add.w sl, sp, 0x88
bl 0x12d1c
add r3, sp, 0x80
ldr r0, [r4, 0x14]
mov r2, r3
mov r1, fp
mov sb, r3
bl 0x12e14
add r3, sp, 0x84
mov r2, sl
mov r1, r3
ldr r0, [r4, 0x18]
str r3, [sp, 0x44]
bl 0x12e14
ldr r0, [r4, 8]
blx sym.imp.sd_bus_get_property
blx sym.imp.__printf_chk
blx 0x6198
ldr r2, [r4]
--
b 0x169d4
ldr.w r3, [0x00016fec]
add r3, pc
mov r1, r4
movs r0, 1
blx sym.imp.touch
ldr r0, [r5]
blx sym.imp.unit_file_state_to_string
ldr r3, [fp, 4]!
cmp r3, 0
beq.w 0x16bd0
movs r3, 0
mov r1, sl
str r3, [r5]
cbz r6, 0x16a0a
movs r0, 1
blx sym.imp.touch
mov r0, sb
blx sym.imp.unit_file_state_to_string
ldr.w r0, [fp]
blx sym.imp.__fprintf_chk
mov sb, r0
cmp r0, 0
--
str.w sl, [sp, 0x48]
mvn r3, 0x15
mov r2, r5
str r3, [r5]
ldr r0, [sp, 0x2c]
ldr r1, [r6]
bl 0x1ae00
ldr r0, [r5]
blx sym.imp.lookup_paths_init
mov r2, r8
mov r1, r7
bl 0x12d1c
ldr.w r3, [sb, 0x38]
ldr r0, [r5]
ldr r4, [r7]
cmp r3, r6
ldr r3, [sp, 0x48]
ite eq
moveq sl, fp
movne sl, r3
blx sym.imp.__printf_chk
blx 0x6198
ldr r1, [r6]

[*] Function printf used 5 times systemctl