Skip to content

ViRb3/PerfectProxyDLL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • mingw-w64 7.0.0+
  • CMake 3.16+

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