Add the undocumented "cmdtest" command to log argv
This commit is contained in:
parent
77cbbbf051
commit
3730abd784
|
|
@ -598,3 +598,10 @@ bool cbInstrLabelRuntimeFunctions(int argc, char* argv[])
|
|||
return false;
|
||||
#endif // _WIN64
|
||||
}
|
||||
|
||||
bool cbInstrCmdTest(int argc, char* argv[])
|
||||
{
|
||||
for(int i = 0; i < argc; i++)
|
||||
dprintf_untranslated("argv[%d]:%s\n", i, argv[i]);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,4 +16,5 @@ bool cbInstrFlushlog(int argc, char* argv[]);
|
|||
bool cbInstrAnimateWait(int argc, char* argv[]);
|
||||
bool cbInstrDbdecompress(int argc, char* argv[]);
|
||||
bool cbInstrDebugFlags(int argc, char* argv[]);
|
||||
bool cbInstrLabelRuntimeFunctions(int argc, char* argv[]);
|
||||
bool cbInstrLabelRuntimeFunctions(int argc, char* argv[]);
|
||||
bool cbInstrCmdTest(int argc, char* argv[]);
|
||||
|
|
@ -451,6 +451,7 @@ static void registercommands()
|
|||
dbgcmdnew("dbdecompress", cbInstrDbdecompress, false); //Decompress a database.
|
||||
dbgcmdnew("DebugFlags", cbInstrDebugFlags, false); //Set ntdll LdrpDebugFlags
|
||||
dbgcmdnew("LabelRuntimeFunctions", cbInstrLabelRuntimeFunctions, true); //Label exception directory entries
|
||||
dbgcmdnew("cmdtest", cbInstrCmdTest, false); //log argv verbatim
|
||||
};
|
||||
|
||||
bool cbCommandProvider(char* cmd, int maxlen)
|
||||
|
|
|
|||
Loading…
Reference in New Issue