[*] Binary protection state of libubihelper.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function mmap tear down of libubihelper.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libubihelper.so @ 0xe94 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00000e94 lui gp, 2 |
0x00000e98 addiu gp, gp, -0x4d44 |
0x00000e9c addu gp, gp, t9 | gp += t9;
0x00000ea0 addiu sp, sp, -0x20 |
0x00000ea4 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00000ea8 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x00000eac sw gp, 0x10(sp) | *(var_10h) = gp;
0x00000eb0 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00000eb4 lbu v0, 0x4230(s0) | v0 = *((s0 + 16944));
0x00000eb8 lw v0, -0x7f38(gp) | v0 = *((gp - 8142));
| if (v0 == 0) {
0x00000ebc bnez v0, 0xef0 |
0x00000ec0 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00000ec4 beqz v0, 0xed8 |
0x00000ec8 lw t9, -0x7f38(gp) | t9 = *((gp - 8142));
0x00000ecc lw a0, (v0) | a0 = *(v0);
0x00000ed0 jalr t9 | t9 ();
0x00000ed4 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00000ed8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00000edc addiu t9, t9, 0xe10 | t9 += entry0;
0x00000ee0 bal 0xe10 | entry0 ();
0x00000ee4 nop |
0x00000ee8 addiu v0, zero, 1 | v0 = 1;
0x00000eec sb v0, 0x4230(s0) | *((s0 + 16944)) = v0;
| }
0x00000ef0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00000ef4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00000ef8 addiu sp, sp, 0x20 |
0x00000efc jr ra | return v0;
| }
[*] Function mmap used 1 times libubihelper.so