[*] Binary protection state of libwsmedia.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of libwsmedia.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libwsmedia.so @ 0x5b84 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00005b84 lui gp, 3 |
0x00005b88 addiu gp, gp, 0x151c |
0x00005b8c addu gp, gp, t9 | gp += t9;
0x00005b90 addiu sp, sp, -0x20 |
0x00005b94 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00005b98 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x00005b9c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00005ba0 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00005ba4 lbu v0, -0x9c0(s0) | v0 = *((s0 - 2496));
0x00005ba8 lw v0, -0x7cf4(gp) | v0 = *((gp - 7997));
| if (v0 == 0) {
0x00005bac bnez v0, 0x5be0 |
0x00005bb0 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00005bb4 beqz v0, 0x5bc8 |
0x00005bb8 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00005bbc lw a0, (v0) | a0 = *(v0);
0x00005bc0 jalr t9 | t9 ();
0x00005bc4 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00005bc8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00005bcc addiu t9, t9, 0x5b00 | t9 += entry0;
0x00005bd0 bal 0x5b00 | entry0 ();
0x00005bd4 nop |
0x00005bd8 addiu v0, zero, 1 | v0 = 1;
0x00005bdc sb v0, -0x9c0(s0) | *((s0 - 2496)) = v0;
| }
0x00005be0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00005be4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00005be8 addiu sp, sp, 0x20 |
0x00005bec jr ra | return v0;
| }
[*] Function fprintf used 1 times libwsmedia.so