Package ghidra.program.model.lang
Enum Class InstructionError.InstructionErrorType
java.lang.Object
java.lang.Enum<InstructionError.InstructionErrorType>
ghidra.program.model.lang.InstructionError.InstructionErrorType
- All Implemented Interfaces:
Serializable
,Comparable<InstructionError.InstructionErrorType>
,Constable
- Enclosing class:
InstructionError
public static enum InstructionError.InstructionErrorType
extends Enum<InstructionError.InstructionErrorType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConflict with existing data detected while instructions were being added to program.Duplicate instruction detected while instructions were being added to program.Instruction contains an unaligned flow which is indicative of a language problem.Conflict with existing instruction detected while instructions were being added to program.Instruction parsing failed at the conflict address due to a memory error.Offcut conflict with existing instruction detected while instructions were being added to program.Instruction parsing failed at the conflict address. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
Instruction error associated with a conflict with an existing code unit (instruction or data). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DUPLICATE
Duplicate instruction detected while instructions were being added to program. This should not be marked but should prevent additional instructions from being added unnecessarily. -
INSTRUCTION_CONFLICT
Conflict with existing instruction detected while instructions were being added to program. Conflict address corresponds to existing code unit. The first instruction within the block whose range overlaps the conflict code-unit should terminate the block prior to being added. -
DATA_CONFLICT
Conflict with existing data detected while instructions were being added to program. Conflict address corresponds to existing code unit. The first instruction within the block whose range overlaps the conflict code-unit should terminate the block prior to being added. -
OFFCUT_INSTRUCTION
Offcut conflict with existing instruction detected while instructions were being added to program. Conflict address corresponds to existing code unit. The first instruction within the block whose range overlaps the conflict code-unit should terminate the block prior to being added. -
PARSE
Instruction parsing failed at the conflict address. This conflict should only have a conflict address which immediately follows the last instruction within the block or matches the block-start if the block is empty. -
MEMORY
Instruction parsing failed at the conflict address due to a memory error. This conflict should only have a conflict address which immediately follows the last instruction within the block or matches the block-start if the block is empty. -
FLOW_ALIGNMENT
Instruction contains an unaligned flow which is indicative of a language problem. The conflict address corresponds to the instruction containing the flow. While the instruction at the conflict address may be added it should be the last.
-
-
Field Details
-
isConflict
public final boolean isConflictInstruction error associated with a conflict with an existing code unit (instruction or data).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-