5 ms·
The debugger is a whole different story. https://github.com/unknownworlds/decoda/blob/master/src/LuaInject/Hook.cpp#L486-L503 https://github.com/unknownworlds/
by mischanix 14y ago
The debugger is a whole different story.
https://github.com/unknownworlds/decoda/blob/master/src/LuaInject/Hook.cpp#L486-L503 https://github.com/unknownworlds/decoda/blob/master/src/LuaI...
https://github.com/unknownworlds/decoda/blob/master/src/LuaInject/DebugHelp.h https://github.com/unknownworlds/decoda/blob/master/src/LuaI...
https://github.com/unknownworlds/decoda/blob/master/src/LuaInject/LuaDll.cpp https://github.com/unknownworlds/decoda/blob/master/src/LuaI...
- devbug 14y agoNot the end of the world. Cross platform (and "architecture") hooking libraries exist for this very reason[1]. It's not a hard issue, and symbol lookup for callstacks is not an issue either[2]. I wouldn't say it's trivial but it's certainly not novel. [1] http://www.gamedeception.net/content/193-Cross-platform-x86-x86-64-detours http://www.gamedeception.net/content/193-Cross-platform-x86-... [2] http://www.kernel.org/doc/man-pages/online/pages/man3/backtrace.3.html http://www.kernel.org/doc/man-pages/online/pages/man3/backtr...