A utility to automatically reinject custom DLLs into processes.
Uses the RELOAD
environment variable to store the target DLL path.
Use the following powershell snippet or create an environment variable called RELOAD
user variable.
$env:RELOAD = 'C:\Path\to\DLL' # powershell
# start the application
Each time the DLL at $RELOAD
is changed, it gets loaded automatically using LoadLibraryW
.
You need meson and ninja. Get it from pip using:
pip install meson ninja
Clone the repo using:
git clone https://www.github.com/spider2048/HotReload --depth 1
cd HotReload
Next, use meson:
meson setup build --buildtype release # or debug
ninja -C build # to start building it
The resulting DLL can be found at ./build/HotReload.dll
.
Use Injector to inject the DLL into the target process.