Package ghidra.graph
Class ProgramGraphType
- java.lang.Object
-
- ghidra.service.graph.GraphType
-
- ghidra.graph.ProgramGraphType
-
- Direct Known Subclasses:
BlockFlowGraphType
,CallGraphType
,CodeFlowGraphType
,DataFlowGraphType
public abstract class ProgramGraphType extends GraphType
Defines a common set of vertex and edge typesGraphType
for program code and data flow graphs. Each specific type of program graph will use a subclass to specifically identify the graph type.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BAD
static java.lang.String
BODY
static java.lang.String
CALL_OVERRIDE_UNCONDITIONAL
static java.lang.String
CALLOTHER_OVERRIDE_CALL
static java.lang.String
CALLOTHER_OVERRIDE_JUMP
static java.lang.String
COMPUTED_CALL
static java.lang.String
COMPUTED_CALL_TERMINATOR
static java.lang.String
COMPUTED_JUMP
static java.lang.String
CONDITIONAL_CALL
static java.lang.String
CONDITIONAL_CALL_TERMINATOR
static java.lang.String
CONDITIONAL_COMPUTED_CALL
static java.lang.String
CONDITIONAL_COMPUTED_JUMP
static java.lang.String
CONDITIONAL_JUMP
static java.lang.String
CONDITIONAL_TERMINATOR
static java.lang.String
DATA
static java.lang.String
DATA_INDIRECT
static java.lang.String
ENTRY
static java.lang.String
ENTRY_EDGE
static java.lang.String
ENTRY_NEXUS
static java.lang.String
EXIT
static java.lang.String
EXTERNAL
static java.lang.String
EXTERNAL_REF
static java.lang.String
FALL_THROUGH
static java.lang.String
INDIRECTION
static java.lang.String
INSTRUCTION
static java.lang.String
JUMP_OVERRIDE_UNCONDITIONAL
static java.lang.String
JUMP_TERMINATOR
static java.lang.String
PARAM
static java.lang.String
READ
static java.lang.String
READ_INDIRECT
static java.lang.String
READ_WRITE
static java.lang.String
READ_WRITE_INDIRECT
static java.lang.String
STACK
static java.lang.String
SWITCH
static java.lang.String
TERMINATOR
static java.lang.String
THUNK
static java.lang.String
UNCONDITIONAL_CALL
static java.lang.String
UNCONDITIONAL_JUMP
static java.lang.String
UNKNOWN_DATA
static java.lang.String
WRITE
static java.lang.String
WRITE_INDIRECT
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProgramGraphType(java.lang.String name, java.lang.String description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getEdgeType(RefType refType)
java.lang.String
getOptionsName()
-
Methods inherited from class ghidra.service.graph.GraphType
containsEdgeType, containsVertexType, equals, getDescription, getEdgeTypes, getName, getVertexTypes, hashCode
-
-
-
-
Field Detail
-
BODY
public static final java.lang.String BODY
-
ENTRY
public static final java.lang.String ENTRY
-
EXIT
public static final java.lang.String EXIT
-
SWITCH
public static final java.lang.String SWITCH
-
EXTERNAL
public static final java.lang.String EXTERNAL
-
BAD
public static final java.lang.String BAD
-
INSTRUCTION
public static final java.lang.String INSTRUCTION
-
DATA
public static final java.lang.String DATA
-
ENTRY_NEXUS
public static final java.lang.String ENTRY_NEXUS
-
STACK
public static final java.lang.String STACK
-
ENTRY_EDGE
public static final java.lang.String ENTRY_EDGE
-
FALL_THROUGH
public static final java.lang.String FALL_THROUGH
-
UNCONDITIONAL_JUMP
public static final java.lang.String UNCONDITIONAL_JUMP
-
UNCONDITIONAL_CALL
public static final java.lang.String UNCONDITIONAL_CALL
-
TERMINATOR
public static final java.lang.String TERMINATOR
-
JUMP_TERMINATOR
public static final java.lang.String JUMP_TERMINATOR
-
INDIRECTION
public static final java.lang.String INDIRECTION
-
CONDITIONAL_JUMP
public static final java.lang.String CONDITIONAL_JUMP
-
CONDITIONAL_CALL
public static final java.lang.String CONDITIONAL_CALL
-
CONDITIONAL_TERMINATOR
public static final java.lang.String CONDITIONAL_TERMINATOR
-
CONDITIONAL_CALL_TERMINATOR
public static final java.lang.String CONDITIONAL_CALL_TERMINATOR
-
COMPUTED_JUMP
public static final java.lang.String COMPUTED_JUMP
-
COMPUTED_CALL
public static final java.lang.String COMPUTED_CALL
-
COMPUTED_CALL_TERMINATOR
public static final java.lang.String COMPUTED_CALL_TERMINATOR
-
CONDITIONAL_COMPUTED_CALL
public static final java.lang.String CONDITIONAL_COMPUTED_CALL
-
CONDITIONAL_COMPUTED_JUMP
public static final java.lang.String CONDITIONAL_COMPUTED_JUMP
-
CALL_OVERRIDE_UNCONDITIONAL
public static final java.lang.String CALL_OVERRIDE_UNCONDITIONAL
-
JUMP_OVERRIDE_UNCONDITIONAL
public static final java.lang.String JUMP_OVERRIDE_UNCONDITIONAL
-
CALLOTHER_OVERRIDE_CALL
public static final java.lang.String CALLOTHER_OVERRIDE_CALL
-
CALLOTHER_OVERRIDE_JUMP
public static final java.lang.String CALLOTHER_OVERRIDE_JUMP
-
READ
public static final java.lang.String READ
-
WRITE
public static final java.lang.String WRITE
-
READ_WRITE
public static final java.lang.String READ_WRITE
-
UNKNOWN_DATA
public static final java.lang.String UNKNOWN_DATA
-
EXTERNAL_REF
public static final java.lang.String EXTERNAL_REF
-
READ_INDIRECT
public static final java.lang.String READ_INDIRECT
-
WRITE_INDIRECT
public static final java.lang.String WRITE_INDIRECT
-
READ_WRITE_INDIRECT
public static final java.lang.String READ_WRITE_INDIRECT
-
DATA_INDIRECT
public static final java.lang.String DATA_INDIRECT
-
PARAM
public static final java.lang.String PARAM
-
THUNK
public static final java.lang.String THUNK
-
-
Method Detail
-
getEdgeType
public static java.lang.String getEdgeType(RefType refType)
-
getOptionsName
public java.lang.String getOptionsName()
- Overrides:
getOptionsName
in classGraphType
-
-