Class DisassembleCommand

    • Field Detail

      • useDefaultRepeatPatternBehavior NEW

        protected boolean useDefaultRepeatPatternBehavior
      • disassemblyPerformed NEW

        protected boolean disassemblyPerformed
      • unalignedStart NEW

        protected boolean unalignedStart
      • nonExecutableStart NEW

        protected boolean nonExecutableStart

Constructor Detail

  • Method Detail

    • setSeedContext

      public void setSeedContext​(DisassemblerContextImpl seedContext)
      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 setInitialContext(RegisterValue) method will take precedence when combined with any seed values. The seedContext should remain unchanged while disassembler command is actively running.
      Parameters:
      seedContext - seed context or null
    • setInitialContext

      public void setInitialContext​(RegisterValue initialContextValue)
      Allows a specified initial context to be used at all start points. This value will take precedence when combined with any individual seed context values specified by the setSeedContext(DisassemblerContextImpl) method. The defaultSeedContext should remain unchanged while disassembler command is actively running.
      Parameters:
      contextOverrideValue - context override value or null
    • enableCodeAnalysis

      public void enableCodeAnalysis​(boolean enable)
      Set code analysis enablement. By default new instructions will be submitted for auto-analysis.
      Parameters:
      enable -
    • doDisassembly NEW

      protected boolean doDisassembly​(TaskMonitor monitor,
                                      Program program,
                                      int instructionAlignment)
    • getDisassembledAddressSet

      public AddressSet getDisassembledAddressSet()
      Returns an address set of all instructions that were disassembled.
      Returns:
      an address set of all instructions that were disassembled