[*] Binary protection state of librt-2.27.so

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


[*] Function sprintf tear down of librt-2.27.so

    ; assembly                               | /* r2dec pseudo code output */
                                             | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/librt-2.27.so @ 0x5bd0 */
                                             | #include <stdint.h>
                                             |  
    ; (fcn) fcn.00005bd0 ()                  | void fcn_00005bd0 () {
    0x00005bd0 lui gp, 2                     |     
    0x00005bd4 addiu gp, gp, -0x6b80         |     
    0x00005bd8 addu gp, gp, t9               |     gp += t9;
    0x00005bdc addiu sp, sp, -0x20           |     
    0x00005be0 sw s0, 0x18(sp)               |     *(var_18h_2) = s0;
    0x00005be4 lw s0, -0x7fe8(gp)            |     s0 = *((gp - 8186));
    0x00005be8 sw gp, 0x10(sp)               |     *(var_10h_3) = gp;
    0x00005bec sw ra, 0x1c(sp)               |     *(var_1ch_3) = ra;
    0x00005bf0 lw t9, (s0)                   |     t9 = *(s0);
                                             |     if (t9 == 0) {
    0x00005bf4 bnez t9, 0x5c10               |         
    0x00005bf8 nop                           |         
    0x00005bfc lw t9, -0x7fe4(gp)            |         t9 = *((gp - 8185));
    0x00005c00 sw a0, 0x20(sp)               |         *(var_20h_3) = a0;
    0x00005c04 bal 0x1860                    |         entry0 ();
    0x00005c08 lw t9, (s0)                   |         t9 = *(s0);
    0x00005c0c lw a0, 0x20(sp)               |         a0 = *(var_20h_3);
                                             |     }
    0x00005c10 jalr t9                       |     t9 ();
    0x00005c14 nop                           |     
    0x00005c18 lui gp, 2                     |     
    0x00005c1c addiu gp, gp, -0x6bc8         |     
    0x00005c20 addu gp, gp, t9               |     gp += t9;
    0x00005c24 addiu sp, sp, -0x38           |     
    0x00005c28 sw s0, 0x28(sp)               |     *(var_28h_2) = s0;
    0x00005c2c lw s0, -0x7fe0(gp)            |     s0 = *((gp - 8184));
    0x00005c30 sw gp, 0x10(sp)               |     *(var_10h_4) = gp;
    0x00005c34 sw s2, 0x30(sp)               |     *(var_10h_4) = s2;
    0x00005c38 lw t9, 0x72c0(s0)             |     t9 = *((s0 + 7344));
    0x00005c3c sw s1, 0x2c(sp)               |     *(var_2ch_2) = s1;
    0x00005c40 sw ra, 0x34(sp)               |     *(var_34h) = ra;
    0x00005c44 lw s1, 0x48(sp)               |     s1 = *(var_10h_3);
    0x00005c48 lw s2, 0x4c(sp)               |     s2 = *(var_2ch_2);
                                             |     if (t9 == 0) {
    0x00005c4c bnez t9, 0x5c80               |         
    0x00005c50 lw t9, -0x7fe4(gp)            |         t9 = *((gp - 8185));
    0x00005c54 sw a2, 0x20(sp)               |         *(var_20h_2) = a2;
    0x00005c58 sw a3, 0x24(sp)               |         *(var_24h_2) = a3;
    0x00005c5c sw a1, 0x1c(sp)               |         *(var_1ch_4) = a1;
    0x00005c60 sw a0, 0x18(sp)               |         *(var_18h_3) = a0;
    0x00005c64 bal 0x1860                    |         entry0 ();
    0x00005c68 lw gp, 0x10(sp)               |         gp = *(var_10h_4);
    0x00005c6c lw t9, 0x72c0(s0)             |         t9 = *((s0 + 7344));
    0x00005c70 lw a2, 0x20(sp)               |         a2 = *(var_20h_2);
    0x00005c74 lw a3, 0x24(sp)               |         a3 = *(var_24h_2);
    0x00005c78 lw a1, 0x1c(sp)               |         a1 = *(var_1ch_4);
    0x00005c7c lw a0, 0x18(sp)               |         a0 = *(var_18h_3);
                                             |     }
    0x00005c80 sw s2, 0x4c(sp)               |     *(var_2ch_2) = s2;
    0x00005c84 sw s1, 0x48(sp)               |     *(var_10h_3) = s1;
    0x00005c88 lw ra, 0x34(sp)               |     ra = *(var_34h);
    0x00005c8c lw s2, 0x30(sp)               |     s2 = *(var_10h_4);
    0x00005c90 lw s1, 0x2c(sp)               |     s1 = *(var_2ch_2);
    0x00005c94 lw s0, 0x28(sp)               |     s0 = *(var_28h_2);
    0x00005c98 addiu sp, sp, 0x38            |     
    0x00005c9c jr t9                         |     t9 ();
                                             | }

[*] Function sprintf used 1 times librt-2.27.so