vscode cpp debugger fix

This commit is contained in:
2025-10-15 14:40:57 +08:00
parent 4e07e943a4
commit b3e72933a7
3 changed files with 8 additions and 0 deletions

2
fixed.1337 Normal file
View File

@@ -0,0 +1,2 @@
>vsdbg.1.dll
000000000006B08E:05->04

Binary file not shown.

View File

@@ -43,8 +43,14 @@ const char *logPath = "A:\\Projects\\vsdbg-fix\\log.txt";
FILE *logFile;
void applyPatches(HMODULE module) {
}
void loadOrig() {
auto lib = LoadLibraryA(origDll);
applyPatches(lib);
for (int i = 0; i < sizeof(symlist) / sizeof(symlist[0]); i++) {
auto sym = GetProcAddress(lib, symlist[i]);
if (sym) {