Package ghidra.trace.model.breakpoint
Enum Class TraceBreakpointKind
- All Implemented Interfaces:
Serializable,Comparable<TraceBreakpointKind>,Constable
The kind of breakpoint
This identifies the sort of access that would trap execution
TODO: This is identical to TargetBreakpointKind (not in the classpath here). Is there a
common place we could factor both? Should we? CAUTION: Encoding in a trace database depends on
this enum's bits field, so we must take care not to introduce a dependency that would
open us up to database breaks if the common enum changes.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbytegetBits()static TraceBreakpointKindReturns the enum constant of this class with the specified name.static TraceBreakpointKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ
-
WRITE
-
HW_EXECUTE
-
SW_EXECUTE
-
-
Field Details
-
COUNT
public static final int COUNT
-
-
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
-
getBits
public byte getBits()
-