frysk.hpd
Class DisassembleCommand

java.lang.Object
  extended by frysk.hpd.Command
      extended by frysk.hpd.ParameterizedCommand
          extended by frysk.hpd.DisassembleCommand

public class DisassembleCommand
extends ParameterizedCommand


Nested Class Summary
(package private)  class DisassembleCommand.AddressPrinter
           
(package private)  class DisassembleCommand.InstructionOnlyPrinter
           
(package private)  class DisassembleCommand.InstructionParamsPrinter
           
(package private) static interface DisassembleCommand.InstructionPrinter
           
private static class DisassembleCommand.Options
           
(package private)  class DisassembleCommand.SymbolPrinter
           
 
Constructor Summary
DisassembleCommand()
           
 
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 frysk.hpd.ParameterizedCommand
add, complete, help, interpret
 
Methods inherited from class frysk.hpd.Command
description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisassembleCommand

public DisassembleCommand()
Method Detail

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