Class MipsDisassembleCommand

  • All Implemented Interfaces:
    Command

    public class MipsDisassembleCommand
    extends DisassembleCommand
    Command object for performing Mips disassembly
    • Constructor Detail

      • MipsDisassembleCommand

        public MipsDisassembleCommand​(AddressSetView startSet,
                                      AddressSetView restrictedSet,
                                      boolean mips16Mode)
        Constructor for MipsDisassembleCommand.
        Parameters:
        startSet - set of addresses to be the start of a disassembly. The Command object will attempt to start a disassembly at each address in this set.
        restrictedSet - addresses that can be disassembled. a null set implies no restrictions
        mips16Mode - pass true if the disassembling in mips16e Mode
      • MipsDisassembleCommand

        public MipsDisassembleCommand​(Address start,
                                      AddressSetView restrictedSet,
                                      boolean mips16Mode)
        Constructor for MipsDisassembleCommand.
        Parameters:
        start - address to be the start of a disassembly.
        restrictedSet - addresses that can be disassembled. a null set implies no restrictions
        mips16Mode - pass true if the disassembling in mips16e Mode
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Command
        Returns the name of this command.
        Specified by:
        getName in interface Command
        Overrides:
        getName in class BackgroundCommand
        Returns:
        the name of this command
      • setSeedContext

        public void setSeedContext​(DisassemblerContextImpl seedContext)
        Description copied from class: DisassembleCommand
        Allows the disassembler context to be seeded for the various disassembly start points which may be encountered using the future flow state of the specified seedContext. Any initial context set via the DisassembleCommand.setInitialContext(RegisterValue) method will take precedence when combined with any seed values. The seedContext should remain unchanged while disassembler command is actively running.
        Overrides:
        setSeedContext in class DisassembleCommand
        Parameters:
        seedContext - seed context or null
      • applyTo

        public boolean applyTo​(DomainObject obj,
                               TaskMonitor monitor)
        Description copied from class: BackgroundCommand
        Method called when this command is to apply changes to the given domain object. A monitor is provided to display status information about the command as it executes in the background.
        Overrides:
        applyTo in class DisassembleCommand
        Parameters:
        obj - domain object that will be affected by the command
        monitor - monitor to show progress of the command
        Returns:
        true if the command applied successfully