[*] Binary protection state of libnsl-2.27.so
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function mmap tear down of libnsl-2.27.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libnsl-2.27.so @ 0x2d14 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00002d14 lui gp, 3 |
0x00002d18 addiu gp, gp, -0x6d24 |
0x00002d1c addu gp, gp, t9 | gp += t9;
0x00002d20 addiu sp, sp, -0x20 |
0x00002d24 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00002d28 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x00002d2c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00002d30 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00002d34 lbu v0, 0x4350(s0) | v0 = *((s0 + 17232));
0x00002d38 lw v0, -0x7cbc(gp) | v0 = *((gp - 7983));
| if (v0 == 0) {
0x00002d3c bnez v0, 0x2d70 |
0x00002d40 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00002d44 beqz v0, 0x2d58 |
0x00002d48 lw t9, -0x7cbc(gp) | t9 = *((gp - 7983));
0x00002d4c lw a0, (v0) | a0 = *(v0);
0x00002d50 jalr t9 | t9 ();
0x00002d54 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00002d58 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00002d5c addiu t9, t9, 0x2c90 | t9 += entry0;
0x00002d60 bal 0x2c90 | entry0 ();
0x00002d64 nop |
0x00002d68 addiu v0, zero, 1 | v0 = 1;
0x00002d6c sb v0, 0x4350(s0) | *((s0 + 17232)) = v0;
| }
0x00002d70 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00002d74 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00002d78 addiu sp, sp, 0x20 |
0x00002d7c jr ra | return v0;
| }
[*] Function mmap used 1 times libnsl-2.27.so