#include <debugger-shell.H>
Inherited by SHELL.
Public Member Functions | |
virtual BOOL | Enable (const STARTUP_ARGUMENTS &args)=0 |
virtual unsigned | AddExtendedHelpCategory (const std::string &name, const std::string &description, BOOL *alreadyExists)=0 |
virtual void | AddExtendedHelpMessage (unsigned category, const std::string &cmd, const std::string &description)=0 |
virtual REG | GetSkipOneRegister ()=0 |
virtual | ~ISHELL ()=0 |
|
Destroys the debugger shell object.
|
|
Tools that use the debugger shell may still implement their own extended debugger commands by using PIN_AddDebugInterpreter(). The debugger shell provides a way for such tools to include a help message for these extended commands in the help message that the debugger shell prints. Tools can use AddExtendedHelpCategory() to define their own category of help messages.
|
|
Adds a help message for an extended command that is implemented by the layered tool. See also AddExtendedHelpCategory() for more information on adding extended debugger commands.
|
|
This method must be called once, typically from the tool's main() function. It enables the Pin instrumentation which implements the debugger extensions.
|
|
Tools that override the default instrumentation with ICUSTOM_INSTRUMENTOR may need a virtual register to hold the "skip one" flag. This method provides the register number to use for this.
|