[*] Binary protection state of php-cli
Full RELRO No Canary found NX enabled No PIE No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of php-cli
416e14: a0430058 sb v1,88(v0)
416e18: 90430058 lbu v1,88(v0)
416e1c: 30640001 andi a0,v1,0x1
416e20: 14800071 bnez a0,416fe8 <php_error_docref2@@Base+0x2d0>
416e24: 24630001 addiu v1,v1,1
416e28: a0430058 sb v1,88(v0)
416e2c: 8f8288b8 lw v0,-30536(gp)
416e30: 8c540010 lw s4,16(v0)
416e34: 8c550008 lw s5,8(v0)
416e38: 92820000 lbu v0,0(s4)
416e3c: 14400015 bnez v0,416e94 <php_error_docref2@@Base+0x17c>
416e40: 8f999cc0 lw t9,-25408(gp)
416e44: 24020001 li v0,1
416e48: 16a20013 bne s5,v0,416e98 <php_error_docref2@@Base+0x180>
416e4c: 02a03025 move a2,s5
416e50: 8f858044 lw a1,-32700(gp)
416e54: 8f99a0b4 lw t9,-24396(gp)
416e58: 2406000d li a2,13
416e5c: 24a55150 addiu a1,a1,20816
416e60: 0320f809 jalr t9
416e64: 02602025 move a0,s3
416e68: 14400009 bnez v0,416e90 <php_error_docref2@@Base+0x178>
416e6c: 8fbc0020 lw gp,32(sp)
416e70: 12400005 beqz s2,416e88 <php_error_docref2@@Base+0x170>
416e74: 8f858044 lw a1,-32700(gp)
416e78: 8f999e28 lw t9,strcpy
416e7c: 24a55160 addiu a1,a1,20832
416e80: 0320f809 jalr t9
--
416f0c: 10640057 beq v1,a0,41706c <php_error_docref2@@Base+0x354>
416f10: 00000000 nop
416f14: 1000fff6 b 416ef0 <php_error_docref2@@Base+0x1d8>
416f18: 2631ffff addiu s1,s1,-1
416f1c: 00008825 move s1,zero
416f20: 16000024 bnez s0,416fb4 <php_error_docref2@@Base+0x29c>
416f24: 02148023 subu s0,s0,s4
416f28: 2eb0001f sltiu s0,s5,31
416f2c: 2403001e li v1,30
416f30: 02b0180b movn v1,s5,s0
416f34: 00608025 move s0,v1
416f38: 12400011 beqz s2,416f80 <php_error_docref2@@Base+0x268>
416f3c: 27b30028 addiu s3,sp,40
416f40: 12200020 beqz s1,416fc4 <php_error_docref2@@Base+0x2ac>
416f44: 8f999c70 lw t9,-25488(gp)
416f48: 8f868044 lw a2,-32700(gp)
416f4c: afa20018 sw v0,24(sp)
416f50: afb10014 sw s1,20(sp)
416f54: afb40010 sw s4,16(sp)
416f58: 02003825 move a3,s0
416f5c: 24c6516c addiu a2,a2,20844
416f60: 24050078 li a1,120
416f64: 0320f809 jalr t9
416f68: 02602025 move a0,s3
416f6c: 8fbc0020 lw gp,32(sp)
416f70: 8f999e28 lw t9,strcpy
416f74: 02602825 move a1,s3
416f78: 0320f809 jalr t9
--
416fe0: 1000ffe3 b 416f70 <php_error_docref2@@Base+0x258>
416fe4: 8fbc0020 lw gp,32(sp)
416fe8: 16400009 bnez s2,417010 <php_error_docref2@@Base+0x2f8>
416fec: 82700000 lb s0,0(s3)
416ff0: 8f999e6c lw t9,strlen
416ff4: 0320f809 jalr t9
416ff8: 02602025 move a0,s3
416ffc: 3a100022 xori s0,s0,0x22
417000: 24030002 li v1,2
417004: 0010180b movn v1,zero,s0
417008: 1000ffe1 b 416f90 <php_error_docref2@@Base+0x278>
41700c: 00431023 subu v0,v0,v1
417010: 24020022 li v0,34
417014: 1602000b bne s0,v0,417044 <php_error_docref2@@Base+0x32c>
417018: 02401825 move v1,s2
41701c: 24050022 li a1,34
417020: 26730001 addiu s3,s3,1
417024: 82640000 lb a0,0(s3)
417028: 14850003 bne a0,a1,417038 <php_error_docref2@@Base+0x320>
41702c: 00721023 subu v0,v1,s2
417030: 1000ffd7 b 416f90 <php_error_docref2@@Base+0x278>
417034: a0600000 sb zero,0(v1)
417038: a0640000 sb a0,0(v1)
41703c: 1000fff8 b 417020 <php_error_docref2@@Base+0x308>
417040: 24630001 addiu v1,v1,1
417044: 8f999e28 lw t9,strcpy
417048: 02602825 move a1,s3
41704c: 0320f809 jalr t9
--
51378c: 32220004 andi v0,s1,0x4
513790: 144000a0 bnez v0,513a14 <php_url_scanner_reset_var@@Base+0x44dc>
513794: 32220008 andi v0,s1,0x8
513798: 8fc20004 lw v0,4(s8)
51379c: 1040009c beqz v0,513a10 <php_url_scanner_reset_var@@Base+0x44d8>
5137a0: 8f999e6c lw t9,strlen
5137a4: 0320f809 jalr t9
5137a8: 8fa40d34 lw a0,3380(sp)
5137ac: 8fbc0028 lw gp,40(sp)
5137b0: 8f9980a4 lw t9,-32604(gp)
5137b4: 0320f809 jalr t9
5137b8: 24440001 addiu a0,v0,1
5137bc: 8fbc0028 lw gp,40(sp)
5137c0: 8fd20004 lw s2,4(s8)
5137c4: 00409825 move s3,v0
5137c8: 8f999e6c lw t9,strlen
5137cc: 0320f809 jalr t9
5137d0: 02402025 move a0,s2
5137d4: 8fbc0028 lw gp,40(sp)
5137d8: 02402025 move a0,s2
5137dc: 8f999518 lw t9,-27368(gp)
5137e0: 0411bd79 bal 502dc8 <php_url_decode@@Base>
5137e4: 00402825 move a1,v0
5137e8: 8fbc0028 lw gp,40(sp)
5137ec: 8fc50004 lw a1,4(s8)
5137f0: 8f999e28 lw t9,strcpy
5137f4: 0320f809 jalr t9
5137f8: 02602025 move a0,s3
[*] Function strcpy used 4 times php-cli