1
0
Fork 0

DBG: added PatchGetEx function

This commit is contained in:
Mr. eXoDia 2015-12-25 16:39:07 +01:00
parent 19a62610fd
commit df792a0d07
2 changed files with 3 additions and 0 deletions

View File

@ -235,4 +235,5 @@ void dbgfunctionsinit()
_dbgfunctions.GetAddrFromLine = _getaddrfromline;
_dbgfunctions.GetSourceFromAddr = _getsourcefromaddr;
_dbgfunctions.ValFromString = _valfromstring;
_dbgfunctions.PatchGetEx = (PATCHGETEX)PatchGet;
}

View File

@ -68,6 +68,7 @@ typedef duint(*VATOFILEOFFSET)(duint va);
typedef duint(*GETADDRFROMLINE)(const char* szSourceFile, int line);
typedef bool (*GETSOURCEFROMADDR)(duint addr, char* szSourceFile, int* line);
typedef bool (*VALFROMSTRING)(const char* string, duint* value);
typedef bool(*PATCHGETEX)(duint addr, DBGPATCHINFO* info);
typedef struct DBGFUNCTIONS_
{
@ -106,6 +107,7 @@ typedef struct DBGFUNCTIONS_
GETADDRFROMLINE GetAddrFromLine;
GETSOURCEFROMADDR GetSourceFromAddr;
VALFROMSTRING ValFromString;
PATCHGETEX PatchGetEx;
} DBGFUNCTIONS;
#ifdef BUILD_DBG