[*] Binary protection state of php-cgi
Full RELRO No Canary found NX enabled No PIE No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of php-cgi
4173c8: 00809025 move s2,a0
4173cc: 10400030 beqz v0,417490 <php_error_docref2@@Base+0x768>
4173d0: 8fbc0018 lw gp,24(sp)
4173d4: 8f999eac lw t9,strlen
4173d8: 02402025 move a0,s2
4173dc: 0320f809 jalr t9
4173e0: 00408825 move s1,v0
4173e4: 8fbc0018 lw gp,24(sp)
4173e8: 02202025 move a0,s1
4173ec: 8f999eac lw t9,strlen
4173f0: 0320f809 jalr t9
4173f4: 00408025 move s0,v0
4173f8: 8fbc0018 lw gp,24(sp)
4173fc: 02021021 addu v0,s0,v0
417400: 8f9980a0 lw t9,-32608(gp)
417404: 0320f809 jalr t9
417408: 24440080 addiu a0,v0,128
41740c: 8fbc0018 lw gp,24(sp)
417410: 8f9988ec lw t9,-30484(gp)
417414: 0411017c bal 417a08 <php_error_docref2@@Base+0xce0>
417418: 00408025 move s0,v0
41741c: 8fbc0018 lw gp,24(sp)
417420: afa20010 sw v0,16(sp)
417424: 02203825 move a3,s1
417428: 8f858044 lw a1,-32700(gp)
41742c: 8f99a14c lw t9,sprintf
417430: 02403025 move a2,s2
417434: 24a5df20 addiu a1,a1,-8416
--
56d584: 24e7f30c addiu a3,a3,-3316
56d588: 24060020 li a2,32
56d58c: 00002825 move a1,zero
56d590: 0320f809 jalr t9
56d594: 02802025 move a0,s4
56d598: 8fbc0018 lw gp,24(sp)
56d59c: 8e70000c lw s0,12(s3)
56d5a0: 8f8383a4 lw v1,-31836(gp)
56d5a4: 8f9980a0 lw t9,-32608(gp)
56d5a8: 8c63001c lw v1,28(v1)
56d5ac: 8c72004c lw s2,76(v1)
56d5b0: 8e43000c lw v1,12(s2)
56d5b4: 02038021 addu s0,s0,v1
56d5b8: 02028021 addu s0,s0,v0
56d5bc: 26040019 addiu a0,s0,25
56d5c0: 2402fff8 li v0,-8
56d5c4: 0411f7c1 bal 56b4cc <_emalloc@@Base>
56d5c8: 00822024 and a0,a0,v0
56d5cc: 8fbc0018 lw gp,24(sp)
56d5d0: 00408825 move s1,v0
56d5d4: 24020001 li v0,1
56d5d8: ae220000 sw v0,0(s1)
56d5dc: 8f858044 lw a1,-32700(gp)
56d5e0: 24020006 li v0,6
56d5e4: ae220004 sw v0,4(s1)
56d5e8: 8f99a14c lw t9,sprintf
56d5ec: 26420010 addiu v0,s2,16
56d5f0: 26100001 addiu s0,s0,1
--
57e620: 8f878044 lw a3,-32700(gp)
57e624: 8e420010 lw v0,16(s2)
57e628: 8f999d08 lw t9,-25336(gp)
57e62c: 24e7f30c addiu a3,a3,-3316
57e630: 24060020 li a2,32
57e634: 00002825 move a1,zero
57e638: 02802025 move a0,s4
57e63c: 0320f809 jalr t9
57e640: afa20010 sw v0,16(sp)
57e644: 8e23001c lw v1,28(s1)
57e648: 8fbc0018 lw gp,24(sp)
57e64c: 8c76004c lw s6,76(v1)
57e650: 8f9980a0 lw t9,-32608(gp)
57e654: 8ed7000c lw s7,12(s6)
57e658: 0057b821 addu s7,v0,s7
57e65c: 26e40028 addiu a0,s7,40
57e660: 2402fff8 li v0,-8
57e664: 0411b399 bal 56b4cc <_emalloc@@Base>
57e668: 00822024 and a0,a0,v0
57e66c: 8fbc0018 lw gp,24(sp)
57e670: 0040a825 move s5,v0
57e674: 24020001 li v0,1
57e678: 8f858044 lw a1,-32700(gp)
57e67c: aea20000 sw v0,0(s5)
57e680: 24020006 li v0,6
57e684: 8f99a14c lw t9,sprintf
57e688: 26f70010 addiu s7,s7,16
57e68c: 26c70010 addiu a3,s6,16
[*] Function sprintf used 3 times php-cgi