Add pe_to_shellcode submodule and usage instructions

Introduced a git submodule for hasherezade's pe_to_shellcode under `build-deps/`. Updated `.gitignore` and `readme.md` to reflect submodule usage and provide build instructions for creating a Reflective DLL.
This commit is contained in:
Steve S.
2025-05-10 07:28:14 -04:00
parent e06e807ab1
commit 5f4eea5031
3 changed files with 10 additions and 1 deletions
+1
View File
@@ -1 +1,2 @@
/target
/build-deps/pe_to_shellcode/
+3
View File
@@ -0,0 +1,3 @@
[submodule "build-deps/pe_to_shellcode"]
path = build-deps/pe_to_shellcode
url = https://github.com/hasherezade/pe_to_shellcode
+6 -1
View File
@@ -37,10 +37,15 @@ The project can be used in two ways:
1. As a DLL (**dll-rs.dll**):
- Build in release mode to generate the DLL
- The DLL exports a `DllMain` function and example functionality
2. As an executable (**debug-executable.exe**):
- Run in debug mode to test DLL functionality without DLL debugging gymnastics
- Running in release mode will display a warning message
3. As a Reflective DLL using [@hasherezade's](https://github.com/hasherezade) [pe_to_shellcode](https://github.com/hasherezade/pe_to_shellcode)
- Resolve submodules with `git submodule update --init --recursive`
- `cd .\build-deps\pe_to_shellcode\`
- `cmake .`
- `cmake --build . --config Release`
## Technical Details