Minimal DLL proxy generator.
roxxy parses a target DLL’s export table and generates a C++ source file that forwards all exports to the original DLL using linker directives.
- Open the x64 Native Tools Command Prompt for VS 20xx.
- Navigate to the directory containing
roxxy.c. - Run the following command:
cl /nologo /O2 /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /utf-8 roxxy.c /link /SUBSYSTEM:CONSOLE /OUT:roxxy.exe
If you prefer using GCC on Windows:
gcc -O3 -DNDEBUG -municode -o roxxy.exe roxxy.c
roxxy.exe [options] <dll_path>
-o, --output <file> Output C++ file (default: <dllname>.cpp)
-t, --targetdir <dir> Custom forwarding directory
-v, --verbose Print all exports while processing
--force-ordinals Force forwarding by ordinal