[*] Binary protection state of libc-2.27.so
Partial RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libc-2.27.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/libc-2.27.so @ 0x4fc00 */
| #include <stdint.h>
|
; (fcn) sym._IO_sprintf () | void IO_sprintf () {
0x0004fc00 lui gp, 0x14 |
0x0004fc04 addiu gp, gp, 0x2220 |
0x0004fc08 addu gp, gp, t9 | gp += t9;
0x0004fc0c addiu sp, sp, -0x28 |
0x0004fc10 addiu v0, sp, 0x30 | v0 = sp + 0x30;
0x0004fc14 lw t9, -0x7abc(gp) | t9 = *(gp);
0x0004fc18 sw ra, 0x24(sp) | *(var_24h) = ra;
0x0004fc1c sw gp, 0x10(sp) | *(var_10h) = gp;
0x0004fc20 sw a2, 0x30(sp) | *(arg_30h) = a2;
0x0004fc24 sw a3, 0x34(sp) | *(arg_34h) = a3;
0x0004fc28 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0004fc2c move a2, v0 | a2 = v0;
0x0004fc30 bal 0x677a0 | sym_vsprintf ()
0x0004fc34 lw ra, 0x24(sp) | ra = *(var_24h);
0x0004fc38 addiu sp, sp, 0x28 |
0x0004fc3c jr ra | return v0;
| }
[*] Function printf used 3 times libc-2.27.so