[*] Binary protection state of mod_cgid.so

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


[*] Function printf tear down of mod_cgid.so

adds r6, r4, 4
blx 0x1a80
mov r3, r0
ldr r0, [r5, 0x40]
str r6, [r3]
ldr r2, [r4, 8]
str r2, [r3, 4]
ldr r2, [r4, 8]
str r3, [r2]
str r3, [r4, 8]
blx loc.imp.ap_scan_script_header_err_brigade_ex
mov r3, r0
ldr.w r0, [r8, 0x114]
str r6, [r3]
mov r1, r4
ldr r2, [r4, 8]
str r2, [r3, 4]
ldr r2, [r4, 8]
str r3, [r2]
str r3, [r4, 8]
blx loc.imp.apr_file_printf
b 0x386e
ldr r3, [r3, 8]
--
beq.w 0x3a26
ldrsb r7, [r1, r2]
cmp r7, 0
blt.w 0x3a26
ldrsb r1, [r1, r2]
b 0x3820
ldr r1, [0x00003f78]
ldr.w r0, [r8, 0xb4]
add r1, pc
blx 0x1a08
mov r5, r0
cbz r0, 0x3e04
ldrb r2, [r0]
ldr.w r3, [r8, 0x44]
cmp r2, 0x2f
beq 0x3eb0
cmp r3, 0xc8
beq 0x3ee2
ldr.w r0, [r8, 0x114]
mov r1, r4
blx loc.imp.apr_file_printf
cmp r0, 0
beq.w 0x386e

[*] Function printf used 2 times mod_cgid.so