[*] Binary protection state of libiris.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of libiris.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libiris.so @ 0x1334 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00001334 lui gp, 2 |
0x00001338 addiu gp, gp, -0x5324 |
0x0000133c addu gp, gp, t9 | gp += t9;
0x00001340 addiu sp, sp, -0x20 |
0x00001344 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00001348 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x0000134c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001350 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001354 lbu v0, 0x4110(s0) | v0 = *((s0 + 16656));
0x00001358 lw v0, -0x7f1c(gp) | v0 = *((gp - 8135));
| if (v0 == 0) {
0x0000135c bnez v0, 0x1390 |
0x00001360 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00001364 beqz v0, 0x1378 |
0x00001368 lw t9, -0x7f1c(gp) | t9 = *((gp - 8135));
0x0000136c lw a0, (v0) | a0 = *(v0);
0x00001370 jalr t9 | t9 ();
0x00001374 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00001378 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x0000137c addiu t9, t9, 0x12b0 | t9 += entry0;
0x00001380 bal 0x12b0 | entry0 ();
0x00001384 nop |
0x00001388 addiu v0, zero, 1 | v0 = 1;
0x0000138c sb v0, 0x4110(s0) | *((s0 + 16656)) = v0;
| }
0x00001390 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00001394 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00001398 addiu sp, sp, 0x20 |
0x0000139c jr ra | return v0;
| }
[*] Function fprintf used 1 times libiris.so