[*] Binary protection state of libwsfocus.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of libwsfocus.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libwsfocus.so @ 0x1044 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00001044 lui gp, 2 |
0x00001048 addiu gp, gp, -0x4054 |
0x0000104c addu gp, gp, t9 | gp += t9;
0x00001050 addiu sp, sp, -0x20 |
0x00001054 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00001058 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x0000105c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001060 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001064 lbu v0, 0x5100(s0) | v0 = *((s0 + 20736));
0x00001068 lw v0, -0x7efc(gp) | v0 = *((gp - 8127));
| if (v0 == 0) {
0x0000106c bnez v0, 0x10a0 |
0x00001070 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00001074 beqz v0, 0x1088 |
0x00001078 lw t9, -0x7efc(gp) | t9 = *((gp - 8127));
0x0000107c lw a0, (v0) | a0 = *(v0);
0x00001080 jalr t9 | t9 ();
0x00001084 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00001088 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x0000108c addiu t9, t9, 0xfc0 | t9 += entry0;
0x00001090 bal 0xfc0 | entry0 ();
0x00001094 nop |
0x00001098 addiu v0, zero, 1 | v0 = 1;
0x0000109c sb v0, 0x5100(s0) | *((s0 + 20736)) = v0;
| }
0x000010a0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x000010a4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x000010a8 addiu sp, sp, 0x20 |
0x000010ac jr ra | return v0;
| }
[*] Function fprintf used 1 times libwsfocus.so