Trees | Indices | Help |
---|
|
cmd.Cmd --+ | EnviCli
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Instantiate a line-oriented interpreter framework. The optional argument 'completekey' is the readline name of a completion key; it defaults to the Tab key. If completekey is not None and the readline module is available, command completion is done automatically. The optional arguments stdin and stdout specify alternate input and output file objects; if not specified, sys.stdin and sys.stdout are used.
|
|
Print output to the CLI's output handler. This allows routines to print to the terminal or the GUI depending on which mode we're in. Example: vprint('hi mom!') |
Repeatedly issue a prompt, accept input, parse an initial prefix off the received input, and dispatch to action methods, passing them the remainder of the line as argument.
|
Interpret the argument as though it had been typed in response to the prompt. This may be overridden, but should not normally need to be; see the precmd() and postcmd() methods for useful execution hooks. The return value is a flag indicating whether interpretation of commands by the interpreter should stop.
|
Quit Usage: quit |
Show or edit a config option from the command line Usage: config [-S section] [option=value] |
Add an alias to the command line interpreter's aliases dictionary Usage: alias <alias_word> rest of the alias command To delete an alias: Usage: alias <alias_word> |
Start an interactive python interpreter. The namespace of the interpreter is updated with expression nicities. You may also specify a line of python code as an argument to be exec'd without beginning an interactive python interpreter on the controlling terminal. Usage: python [pycode] |
Display a binary representation of the given value expression (padded to optional width in bits) Usage: binstr <val_expr> [<bitwidth_expr>] |
Evaluate an expression on the CLI to show it's value. Usage: eval (ecx+edx)/2 |
Execute a python file. The script file is arbitrary python code which is run with the full compliment of expression extensions mapped in as locals. NOTE: additional command line arguments may be passed in and will appear as the list "argv" in the script namespace! (They will all be strings) Usage: script <scriptfile> [<argv[0]>, ...] |
Display either a list of all the memory maps or the memory map details for the given address expression. Usage: maps [addr_expression] |
Search memory for patterns. Usage: search [options] <pattern> -e Encode the pattern with a codec (ie utf-16le, hex, etc) -E The specified pattern is an expression (search for numeric values) -r The specified pattern is a regular expression -R <baseexpr:sizeexpr> Search a specific range only. -X The specified pattern is in hex (ie. 414141424242 is AAABBB) |
Dump memory out to a file. Usage: memdump <addr_expression> <size_expression> <filename> |
Compare memory at the given locations. Outputs a set of differences showing bytes at their given offsets.... Usage: memcmp <addr_expr1> <addr_expr2> <size_expr> |
Show some memory (with optional formatting and size) Usage: mem [-F <format>] <addr expression> [size] NOTE: use -F ? for a list of the formats |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Nov 16 18:22:12 2012 | http://epydoc.sourceforge.net |