[*] Binary protection state of mod_cgid.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of mod_cgid.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/apache2/modules/mod_cgid.so @ 0x1de4 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00001de4 lui gp, 2 |
0x00001de8 addiu gp, gp, -0x1da4 |
0x00001dec addu gp, gp, t9 | gp += t9;
0x00001df0 addiu sp, sp, -0x20 |
0x00001df4 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00001df8 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x00001dfc sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001e00 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001e04 lbu v0, -0x7d70(s0) | v0 = *((s0 - 32112));
0x00001e08 lw v0, -0x7dd4(gp) | v0 = *((gp - 8053));
| if (v0 == 0) {
0x00001e0c bnez v0, 0x1e40 |
0x00001e10 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00001e14 beqz v0, 0x1e28 |
0x00001e18 lw t9, -0x7dd4(gp) | t9 = *((gp - 8053));
0x00001e1c lw a0, (v0) | a0 = *(v0);
0x00001e20 jalr t9 | t9 ();
0x00001e24 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00001e28 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00001e2c addiu t9, t9, 0x1d60 | t9 += entry0;
0x00001e30 bal 0x1d60 | entry0 ();
0x00001e34 nop |
0x00001e38 addiu v0, zero, 1 | v0 = 1;
0x00001e3c sb v0, -0x7d70(s0) | *((s0 - 32112)) = v0;
| }
0x00001e40 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00001e44 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00001e48 addiu sp, sp, 0x20 |
0x00001e4c jr ra | return v0;
| }
[*] Function sprintf used 1 times mod_cgid.so