DBG: added focusinfo command + moved commands to correct categories
This commit is contained in:
parent
caf6b1e1b0
commit
9d47e9bbbe
|
|
@ -473,4 +473,12 @@ CMDRESULT cbInstrBriefcheck(int argc, char* argv[])
|
|||
dprintf("%p: %s\n", cp.Address(), mnem.c_str());
|
||||
}
|
||||
return STATUS_CONTINUE;
|
||||
}
|
||||
}
|
||||
|
||||
CMDRESULT cbInstrFocusinfo(int argc, char* argv[])
|
||||
{
|
||||
ACTIVEVIEW activeView;
|
||||
GuiGetActiveView(&activeView);
|
||||
dprintf("activeTitle: %s, activeClass: %s\n", activeView.title, activeView.className);
|
||||
return STATUS_CONTINUE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,4 +11,5 @@ CMDRESULT cbInstrLoopList(int argc, char* argv[]);
|
|||
CMDRESULT cbInstrCapstone(int argc, char* argv[]);
|
||||
CMDRESULT cbInstrVisualize(int argc, char* argv[]);
|
||||
CMDRESULT cbInstrMeminfo(int argc, char* argv[]);
|
||||
CMDRESULT cbInstrBriefcheck(int argc, char* argv[]);
|
||||
CMDRESULT cbInstrBriefcheck(int argc, char* argv[]);
|
||||
CMDRESULT cbInstrFocusinfo(int argc, char* argv[]);
|
||||
|
|
@ -223,6 +223,7 @@ static void registercommands()
|
|||
dbgcmdnew("TraceOverIntoTraceRecord\1toit", cbDebugTraceOverIntoTraceRecord, true); //Trace over into trace record
|
||||
dbgcmdnew("RunToParty", cbDebugRunToParty, true); //Run to code in a party
|
||||
dbgcmdnew("RunToUserCode\1rtu", cbDebugRunToUserCode, true); //Run to user code
|
||||
dbgcmdnew("guidfind\1findguid", cbInstrGUIDFind, true); //find GUID references TODO: undocumented
|
||||
|
||||
//thread control
|
||||
dbgcmdnew("createthread\1threadcreate\1newthread\1threadnew", cbDebugCreatethread, true); //create thread
|
||||
|
|
@ -313,6 +314,7 @@ static void registercommands()
|
|||
dbgcmdnew("analxrefs\1analx", cbInstrAnalxrefs, true); //analyze xrefs
|
||||
dbgcmdnew("analrecur\1analr", cbInstrAnalrecur, true); //analyze a single function
|
||||
dbgcmdnew("analadv", cbInstrAnalyseadv, true); //analyze xref,function and data
|
||||
dbgcmdnew("traceexecute", cbInstrTraceexecute, true); //execute trace record on address TODO: undocumented
|
||||
|
||||
dbgcmdnew("virtualmod", cbInstrVirtualmod, true); //virtual module
|
||||
dbgcmdnew("symdownload\1downloadsym", cbDebugDownloadSymbol, true); //download symbols
|
||||
|
|
@ -418,8 +420,7 @@ static void registercommands()
|
|||
dbgcmdnew("visualize", cbInstrVisualize, true); //visualize analysis
|
||||
dbgcmdnew("meminfo", cbInstrMeminfo, true); //command to debug memory map bugs
|
||||
dbgcmdnew("briefcheck", cbInstrBriefcheck, true); //check if mnemonic briefs are missing
|
||||
dbgcmdnew("traceexecute", cbInstrTraceexecute, true); //execute trace record on address
|
||||
dbgcmdnew("guidfind\1findguid", cbInstrGUIDFind, true); //find GUID references
|
||||
dbgcmdnew("focusinfo", cbInstrFocusinfo, false);
|
||||
};
|
||||
|
||||
static bool cbCommandProvider(char* cmd, int maxlen)
|
||||
|
|
|
|||
Loading…
Reference in New Issue