frysk.hpd
Class DisassembleCommand
java.lang.Object
frysk.hpd.Command
frysk.hpd.ParameterizedCommand
frysk.hpd.DisassembleCommand
public class DisassembleCommand
- extends ParameterizedCommand
Method Summary |
(package private) int |
completer(CLI cli,
Input input,
int cursor,
List completions)
Complete the command's parameters. |
(package private) void |
interpret(CLI cli,
Input cmd,
Object opts)
Interpret command, using options. |
(package private) Object |
options()
Return the options object (or null) which will be passed to
each command option parser. |
private void |
printInstruction(CLI cli,
long currentAddress,
Instruction instruction,
DisassembleCommand.InstructionPrinter printer)
|
private void |
printInstructions(CLI cli,
Task task,
long currentAddress,
List instructions,
DisassembleCommand.Options options)
Print a list of instructions, highlighting the current instruction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisassembleCommand
public DisassembleCommand()
options
Object options()
- Description copied from class:
ParameterizedCommand
- Return the options object (or null) which will be passed to
each command option parser.
- Overrides:
options
in class ParameterizedCommand
interpret
void interpret(CLI cli,
Input cmd,
Object opts)
- Description copied from class:
ParameterizedCommand
- Interpret command, using options.
- Specified by:
interpret
in class ParameterizedCommand
printInstructions
private void printInstructions(CLI cli,
Task task,
long currentAddress,
List instructions,
DisassembleCommand.Options options)
- Print a list of instructions, highlighting the current instruction.
- Parameters:
currentAddress
- instructions
-
printInstruction
private void printInstruction(CLI cli,
long currentAddress,
Instruction instruction,
DisassembleCommand.InstructionPrinter printer)
completer
int completer(CLI cli,
Input input,
int cursor,
List completions)
- Description copied from class:
ParameterizedCommand
- Complete the command's parameters.
- Specified by:
completer
in class ParameterizedCommand