[*] Binary protection state of libnss_myhostname.so.2
Full RELRO Canary found NX disabled DSO RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of libnss_myhostname.so.2
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libnss_myhostname.so.2 @ 0x1704 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00001704 lui gp, 3 |
0x00001708 addiu gp, gp, -0x26c4 |
0x0000170c addu gp, gp, t9 | gp += t9;
0x00001710 addiu sp, sp, -0x20 |
0x00001714 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00001718 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x0000171c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001720 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001724 lbu v0, 0x73b0(s0) | v0 = *((s0 + 29616));
0x00001728 lw v0, -0x7cac(gp) | v0 = *((gp - 7979));
| if (v0 == 0) {
0x0000172c bnez v0, 0x1760 |
0x00001730 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00001734 beqz v0, 0x1748 |
0x00001738 lw t9, -0x7cac(gp) | t9 = *((gp - 7979));
0x0000173c lw a0, (v0) | a0 = *(v0);
0x00001740 jalr t9 | t9 ();
0x00001744 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00001748 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x0000174c addiu t9, t9, 0x1680 | t9 += entry0;
0x00001750 bal 0x1680 | entry0 ();
0x00001754 nop |
0x00001758 addiu v0, zero, 1 | v0 = 1;
0x0000175c sb v0, 0x73b0(s0) | *((s0 + 29616)) = v0;
| }
0x00001760 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00001764 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00001768 addiu sp, sp, 0x20 |
0x0000176c jr ra | return v0;
| }
[*] Function fprintf used 1 times libnss_myhostname.so.2