Class InstructionError


  • public class InstructionError
    extends java.lang.Object
    • Method Detail

      • getInstructionBlock

        public InstructionBlock getInstructionBlock()
        Returns:
        instruction block which corresponds to this error
      • isInstructionConflict

        public boolean isInstructionConflict()
      • isOffcutError

        public boolean isOffcutError()
      • getInstructionAddress

        public Address getInstructionAddress()
        Returns:
        address of new intended instruction which failed to be created (never null)
      • getConflictAddress

        public Address getConflictAddress()
        Returns:
        address of another code unit which conflicts with intended instruction (required for CODE_UNIT and DUPLCIATE errors, null for others)
      • getParseContextValue

        public RegisterValue getParseContextValue()
        Returns:
        disassembler context at intended instruction address (required for PARSE error, null for others)
      • getFlowFromAddress

        public Address getFlowFromAddress()
        Returns:
        flow-from address if know else null
      • getConflictMessage

        public java.lang.String getConflictMessage()
        Returns:
        instruction error message
      • dumpInstructionDifference

        public static void dumpInstructionDifference​(Instruction newInst,
                                                     Instruction existingInstr)