[*] Binary protection state of libc-2.27.so
Partial RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of libc-2.27.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libc-2.27.so @ 0x4f9e0 */
| #include <stdint.h>
|
; (fcn) sym._IO_sprintf () | void IO_sprintf () {
0x0004f9e0 lui gp, 0x14 |
0x0004f9e4 addiu gp, gp, -0x6bd0 |
0x0004f9e8 addu gp, gp, t9 | gp += t9;
0x0004f9ec addiu sp, sp, -0x28 |
0x0004f9f0 addiu v0, sp, 0x30 | v0 = sp + 0x30;
0x0004f9f4 lw t9, -0x7ac8(gp) | t9 = *((gp - 7858));
0x0004f9f8 sw ra, 0x24(sp) | *(var_24h) = ra;
0x0004f9fc sw gp, 0x10(sp) | *(var_10h) = gp;
0x0004fa00 sw a2, 0x30(sp) | *(arg_30h) = a2;
0x0004fa04 sw a3, 0x34(sp) | *(arg_34h) = a3;
0x0004fa08 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0004fa0c move a2, v0 | a2 = v0;
0x0004fa10 bal 0x679f0 | sym_vsprintf ()
0x0004fa14 lw ra, 0x24(sp) | ra = *(var_24h);
0x0004fa18 addiu sp, sp, 0x28 |
0x0004fa1c jr ra | return v0;
| }
[*] Function sprintf used 3 times libc-2.27.so