[*] Binary protection state of php-cli
Full RELRO No Canary found NX enabled No PIE No RPATH No RUNPATH No Symbols
[*] Function mmap tear down of php-cli
44ccfc: 8f99a0e8 lw t9,mmap
44cd00: ae450000 sw a1,0(s2)
44cd04: 24060001 li a2,1
44cd08: 00002025 move a0,zero
44cd0c: afa00014 sw zero,20(sp)
44cd10: 0320f809 jalr t9
44cd14: afb00010 sw s0,16(sp)
44cd18: 8fbc0018 lw gp,24(sp)
44cd1c: 02002025 move a0,s0
44cd20: 8f999dc4 lw t9,-25148(gp)
44cd24: 0320f809 jalr t9
44cd28: 00408825 move s1,v0
44cd2c: 2402ffff li v0,-1
44cd30: 1622ffa5 bne s1,v0,44cbc8 <php_date_initialize@@Base+0x2397c>
44cd34: 8fbf10dc lw ra,4316(sp)
44cd38: 1000ffa3 b 44cbc8 <php_date_initialize@@Base+0x2397c>
44cd3c: 00008825 move s1,zero
44cd40: 8f999dc4 lw t9,-25148(gp)
44cd44: 0320f809 jalr t9
44cd48: 02002025 move a0,s0
44cd4c: 1000ff9e b 44cbc8 <php_date_initialize@@Base+0x2397c>
--
5472dc: 8f99a0e8 lw t9,mmap
5472e0: 8e250004 lw a1,4(s1)
5472e4: afa20014 sw v0,20(sp)
5472e8: afb30010 sw s3,16(sp)
5472ec: 02403025 move a2,s2
5472f0: 0320f809 jalr t9
5472f4: 00002025 move a0,zero
5472f8: 2403ffff li v1,-1
5472fc: 14430005 bne v0,v1,547314 <php_stream_filter_remove@@Base+0x4e0>
547300: ae22000c sw v0,12(s1)
547304: 1000ff7a b 5470f0 <php_stream_filter_remove@@Base+0x2bc>
547308: ae20000c sw zero,12(s1)
54730c: 1000fff2 b 5472d8 <php_stream_filter_remove@@Base+0x4a4>
547310: 02403825 move a3,s2
547314: ae820014 sw v0,20(s4)
547318: 8e220004 lw v0,4(s1)
54731c: 1000ff87 b 54713c <php_stream_filter_remove@@Base+0x308>
547320: ae820018 sw v0,24(s4)
547324: 8e840014 lw a0,20(s4)
547328: 1080ff71 beqz a0,5470f0 <php_stream_filter_remove@@Base+0x2bc>
54732c: 8f999ca8 lw t9,-25432(gp)
--
565450: 8f99a0e8 lw t9,mmap
565454: 2411ffff li s1,-1
565458: afa00014 sw zero,20(sp)
56545c: afb10010 sw s1,16(sp)
565460: 24070802 li a3,2050
565464: 24060003 li a2,3
565468: 02002825 move a1,s0
56546c: 0320f809 jalr t9
565470: 00002025 move a0,zero
565474: 14510022 bne v0,s1,565500 <__zend_malloc@@Base+0x4a0>
565478: 8fbc0018 lw gp,24(sp)
56547c: 8f829e84 lw v0,-24956(gp)
565480: 8f99a11c lw t9,-24292(gp)
565484: 0320f809 jalr t9
565488: 8c510000 lw s1,0(v0)
56548c: 8fbc0018 lw gp,24(sp)
565490: 8c500000 lw s0,0(v0)
565494: 8f99a0c8 lw t9,-24376(gp)
565498: 0320f809 jalr t9
56549c: 02002025 move a0,s0
5654a0: 8fbc0018 lw gp,24(sp)
--
5654d0: 8f99a0e8 lw t9,mmap
5654d4: 2411ffff li s1,-1
5654d8: 3c070008 lui a3,0x8
5654dc: afa00014 sw zero,20(sp)
5654e0: afb10010 sw s1,16(sp)
5654e4: 24e70802 addiu a3,a3,2050
5654e8: 24060003 li a2,3
5654ec: 3c050020 lui a1,0x20
5654f0: 0320f809 jalr t9
5654f4: 00002025 move a0,zero
5654f8: 1051ffd5 beq v0,s1,565450 <__zend_malloc@@Base+0x3f0>
5654fc: 8fbc0018 lw gp,24(sp)
565500: 8fbf002c lw ra,44(sp)
565504: 8fb10028 lw s1,40(sp)
565508: 8fb00024 lw s0,36(sp)
56550c: 03e00008 jr ra
565510: 27bd0030 addiu sp,sp,48
00565514 <__zend_realloc@@Base>:
565514: 3c1c001b lui gp,0x1b
565518: 279c8cec addiu gp,gp,-29460
--
566a5c: 8f99a0e8 lw t9,mmap
566a60: 241effff li s8,-1
566a64: afa20020 sw v0,32(sp)
566a68: afa00014 sw zero,20(sp)
566a6c: afbe0010 sw s8,16(sp)
566a70: 24070802 li a3,2050
566a74: 24060003 li a2,3
566a78: 02a02825 move a1,s5
566a7c: 0320f809 jalr t9
566a80: 00402025 move a0,v0
566a84: 145e0017 bne v0,s8,566ae4 <zend_mm_gc@@Base+0x108c>
566a88: 8fbc0018 lw gp,24(sp)
566a8c: 8f829e84 lw v0,-24956(gp)
566a90: 8f99a11c lw t9,-24292(gp)
566a94: 8c420000 lw v0,0(v0)
566a98: 0320f809 jalr t9
566a9c: afa20020 sw v0,32(sp)
566aa0: 8fbc0018 lw gp,24(sp)
566aa4: 8c5e0000 lw s8,0(v0)
566aa8: 8f99a0c8 lw t9,-24376(gp)
566aac: 0320f809 jalr t9
--
5b68a0: 8f99a0e8 lw t9,mmap
5b68a4: 24070002 li a3,2
5b68a8: 24060001 li a2,1
5b68ac: 26450020 addiu a1,s2,32
5b68b0: 0320f809 jalr t9
5b68b4: 00002025 move a0,zero
5b68b8: ae220000 sw v0,0(s1)
5b68bc: 1053001b beq v0,s3,5b692c <zend_stream_fixup@@Base+0x31c>
5b68c0: 8fbc0018 lw gp,24(sp)
5b68c4: 8f999e20 lw t9,-25056(gp)
5b68c8: 0320f809 jalr t9
5b68cc: 8e040000 lw a0,0(s0)
5b68d0: 8e230000 lw v1,0(s1)
5b68d4: 8fbc0018 lw gp,24(sp)
5b68d8: 10530005 beq v0,s3,5b68f0 <zend_stream_fixup@@Base+0x2e0>
5b68dc: ae030010 sw v1,16(s0)
5b68e0: 8e230000 lw v1,0(s1)
5b68e4: 02429023 subu s2,s2,v0
5b68e8: 00621821 addu v1,v1,v0
5b68ec: ae230000 sw v1,0(s1)
5b68f0: 8e220000 lw v0,0(s1)
[*] Function mmap used 6 times php-cli