ViRb3 / PerfectProxyDLL

A simple and stable proxy DLL for Windows x64
10 stars 1 forks source link
dll perfect proxy windows

Perfect Proxy

A simple and stable proxy DLL for Windows x64.

Notes

Assembly inlining is not supported in MSVC on x64, therefore this project uses GCC through MinGW.

Compilation

If you get an error like: undefined reference to 'orig_somefunc', you may need to prefix your assembly symbols with an underscore:

#define WRAPPER_GENFUNC(name) \
    FARPROC orig_##name; \
    __declspec(naked) void _##name() \
    { \
-       asm("jmp *orig_"#name); \
+       asm("jmp *_orig_"#name); \
    }

Source: https://stackoverflow.com/a/36359457

References