[*] Binary protection state of libnet.so.1.0
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of libnet.so.1.0
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libnet.so.1.0 @ 0x3ef4 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00003ef4 lui gp, 2 |
0x00003ef8 addiu gp, gp, 0x40fc |
0x00003efc addu gp, gp, t9 | gp += t9;
0x00003f00 addiu sp, sp, -0x20 |
0x00003f04 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00003f08 lw s0, -0x7fe8(gp) | s0 = *((gp - 8186));
0x00003f0c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00003f10 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00003f14 lbu v0, 0x1e0(s0) | v0 = *((s0 + 480));
0x00003f18 lw v0, -0x7e3c(gp) | v0 = *((gp - 8079));
| if (v0 == 0) {
0x00003f1c bnez v0, 0x3f50 |
0x00003f20 lw v0, -0x7fe4(gp) | v0 = *((gp - 8185));
| if (v0 != 0) {
0x00003f24 beqz v0, 0x3f38 |
0x00003f28 lw t9, -0x7e3c(gp) | t9 = *((gp - 8079));
0x00003f2c lw a0, (v0) | a0 = *(v0);
0x00003f30 jalr t9 | t9 ();
0x00003f34 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00003f38 lw t9, -0x7fe0(gp) | t9 = *((gp - 8184));
0x00003f3c addiu t9, t9, 0x3e70 | t9 += entry0;
0x00003f40 bal 0x3e70 | entry0 ();
0x00003f44 nop |
0x00003f48 addiu v0, zero, 1 | v0 = 1;
0x00003f4c sb v0, 0x1e0(s0) | *((s0 + 480)) = v0;
| }
0x00003f50 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00003f54 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00003f58 addiu sp, sp, 0x20 |
0x00003f5c jr ra | return v0;
| }
[*] Function strcpy used 1 times libnet.so.1.0