rafaelwdornelas/Eidolon — reverse-engineered prompt
Reverse engineered prompt
Build me a small Windows C research project that demonstrates the idea of fault driven PE loading in a safe, local, educational way. I want it to take a DLL or EXE from an in memory buffer, reserve the image range, then materialize pages only when they are first touched, using a vectored exception handler, with relocations, imports, and final page protections handled per page instead of all at once.
Please make it build cleanly with CMake, include a simple example program, and add clear logging so I can see which page faulted, what got copied, what relocations or imports were applied, and when execution continues. Keep it focused on running a sample payload in the current process for demonstration, not process injection or persistence. If the project supports different backing modes, wire those up behind simple options and document what each one is for in plain English.
Also give me a README that explains the concept, how to build it, how to run the example, and any Windows only limitations. Look up current Windows API details if you need to.
Want more depth? Deep Reverse