[*] Binary protection state of libcgi_buffer.so.0.0.13

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


[*] Function mmap tear down of libcgi_buffer.so.0.0.13

    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libcgi_buffer.so.0.0.13 @ 0x9e4 */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) entry.fini0 ()               | void entry_fini0 () {
    0x000009e4 lui gp, 2                 |     
    0x000009e8 addiu gp, gp, -0x69f4     |     
    0x000009ec addu gp, gp, t9           |     gp += t9;
    0x000009f0 addiu sp, sp, -0x20       |     
    0x000009f4 sw s0, 0x18(sp)           |     *(var_18h) = s0;
    0x000009f8 lw s0, -0x7fe4(gp)        |     s0 = *((gp - 8185));
    0x000009fc sw gp, 0x10(sp)           |     *(var_10h) = gp;
    0x00000a00 sw ra, 0x1c(sp)           |     *(var_1ch) = ra;
    0x00000a04 lbu v0, 0x2080(s0)        |     v0 = *((s0 + 8320));
    0x00000a08 lw v0, -0x7f84(gp)        |     v0 = *((gp - 8161));
                                         |     if (v0 == 0) {
    0x00000a0c bnez v0, 0xa40            |         
    0x00000a10 lw v0, -0x7fe0(gp)        |         v0 = *((gp - 8184));
                                         |         if (v0 != 0) {
    0x00000a14 beqz v0, 0xa28            |             
    0x00000a18 lw t9, -0x7f84(gp)        |             t9 = *((gp - 8161));
    0x00000a1c lw a0, (v0)               |             a0 = *(v0);
    0x00000a20 jalr t9                   |             t9 ();
    0x00000a24 lw gp, 0x10(sp)           |             gp = *(var_10h);
                                         |         }
    0x00000a28 lw t9, -0x7fdc(gp)        |         t9 = *((gp - 8183));
    0x00000a2c addiu t9, t9, 0x960       |         t9 += entry0;
    0x00000a30 bal 0x960                 |         entry0 ();
    0x00000a34 nop                       |         
    0x00000a38 addiu v0, zero, 1         |         v0 = 1;
    0x00000a3c sb v0, 0x2080(s0)         |         *((s0 + 8320)) = v0;
                                         |     }
    0x00000a40 lw ra, 0x1c(sp)           |     ra = *(var_1ch);
    0x00000a44 lw s0, 0x18(sp)           |     s0 = *(var_18h);
    0x00000a48 addiu sp, sp, 0x20        |     
    0x00000a4c jr ra                     |     return v0;
                                         | }

[*] Function mmap used 1 times libcgi_buffer.so.0.0.13