DBG: setting for ListAllPages
This commit is contained in:
parent
f885a1fded
commit
07183f91d4
|
@ -144,6 +144,11 @@ bool _getprocesslist(DBGPROCESSINFO** entries, int* count)
|
|||
return true;
|
||||
}
|
||||
|
||||
static void _memupdatemap()
|
||||
{
|
||||
memupdatemap(fdProcessInfo->hProcess);
|
||||
}
|
||||
|
||||
void dbgfunctionsinit()
|
||||
{
|
||||
_dbgfunctions.AssembleAtEx = _assembleatex;
|
||||
|
@ -163,7 +168,7 @@ void dbgfunctionsinit()
|
|||
_dbgfunctions.ModPathFromAddr = _modpathfromaddr;
|
||||
_dbgfunctions.ModPathFromName = _modpathfromname;
|
||||
_dbgfunctions.DisasmFast = disasmfast;
|
||||
_dbgfunctions.MemUpdateMap = memupdatemap;
|
||||
_dbgfunctions.MemUpdateMap = _memupdatemap;
|
||||
_dbgfunctions.GetCallStack = _getcallstack;
|
||||
_dbgfunctions.SymbolDownloadAllSymbols = symdownloadallsymbols;
|
||||
_dbgfunctions.GetJit = _getjit;
|
||||
|
|
|
@ -50,7 +50,7 @@ typedef int (*PATCHFILE)(DBGPATCHINFO* patchlist, int count, const char* szFileN
|
|||
typedef int (*MODPATHFROMADDR)(duint addr, char* path, int size);
|
||||
typedef int (*MODPATHFROMNAME)(const char* modname, char* path, int size);
|
||||
typedef bool (*DISASMFAST)(unsigned char* data, duint addr, BASIC_INSTRUCTION_INFO* basicinfo);
|
||||
typedef void (*MEMUPDATEMAP)(HANDLE hProcess);
|
||||
typedef void (*MEMUPDATEMAP)();
|
||||
typedef void (*GETCALLSTACK)(DBGCALLSTACK* callstack);
|
||||
typedef void (*SYMBOLDOWNLOADALLSYMBOLS)(const char* szSymbolStore);
|
||||
typedef bool (*GETJIT)(char* jit, bool x64);
|
||||
|
|
|
@ -14,7 +14,10 @@ void memupdatemap(HANDLE hProcess)
|
|||
uint MyAddress = 0, newAddress = 0;
|
||||
uint curAllocationBase = 0;
|
||||
|
||||
bool bListAllPages = false; //TODO: settings for this
|
||||
uint setting = 0;
|
||||
bool bListAllPages = false;
|
||||
if(BridgeSettingGetUint("Engine", "ListAllPages", &setting) && setting)
|
||||
bListAllPages = true;
|
||||
|
||||
std::vector<MEMPAGE> pageVector;
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue