vscode cpp debugger fix
This commit is contained in:
2
fixed.1337
Normal file
2
fixed.1337
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
>vsdbg.1.dll
|
||||||
|
000000000006B08E:05->04
|
||||||
BIN
ms-vscode.cpptools-1.21.6-win32-x64.7z
Normal file
BIN
ms-vscode.cpptools-1.21.6-win32-x64.7z
Normal file
Binary file not shown.
6
stub.cpp
6
stub.cpp
@@ -43,8 +43,14 @@ const char *logPath = "A:\\Projects\\vsdbg-fix\\log.txt";
|
|||||||
|
|
||||||
FILE *logFile;
|
FILE *logFile;
|
||||||
|
|
||||||
|
void applyPatches(HMODULE module) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void loadOrig() {
|
void loadOrig() {
|
||||||
auto lib = LoadLibraryA(origDll);
|
auto lib = LoadLibraryA(origDll);
|
||||||
|
applyPatches(lib);
|
||||||
|
|
||||||
for (int i = 0; i < sizeof(symlist) / sizeof(symlist[0]); i++) {
|
for (int i = 0; i < sizeof(symlist) / sizeof(symlist[0]); i++) {
|
||||||
auto sym = GetProcAddress(lib, symlist[i]);
|
auto sym = GetProcAddress(lib, symlist[i]);
|
||||||
if (sym) {
|
if (sym) {
|
||||||
|
|||||||
Reference in New Issue
Block a user