Package proguard.analysis.cpa.interfaces
Interface CfaNode<CfaEdgeT extends CfaEdge,SignatureT extends Signature>
- All Known Implementing Classes:
JvmCatchCfaNode,JvmCfaNode,JvmUnknownCfaNode
A node for
Cfa parametrized by its edges CfaEdgeT.
A CFA node corresponds to a program point before the instruction at a specific offset.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of entering edges.Returns a list of leaving edges.intReturns the instruction offset.Returns the function signature it belongs to.booleanChecks whether the node is a function entry.default booleanReturns true if the node is the return location of the function (offset ==EXCEPTION_EXIT_NODE_OFFSET).booleanChecks whether the node is a function exit.default booleanReturns true if the node is the return location of the function (offset ==RETURN_EXIT_NODE_OFFSET).default booleanReturns true if the location of the node is unknown.
-
Field Details
-
RETURN_EXIT_NODE_OFFSET
static final int RETURN_EXIT_NODE_OFFSET- See Also:
-
EXCEPTION_EXIT_NODE_OFFSET
static final int EXCEPTION_EXIT_NODE_OFFSET- See Also:
-
EXIT_NODES_OFFSET
-
-
Method Details
-
getLeavingEdges
Returns a list of leaving edges. -
getEnteringEdges
Returns a list of entering edges. -
isEntryNode
boolean isEntryNode()Checks whether the node is a function entry. -
isExitNode
boolean isExitNode()Checks whether the node is a function exit. -
getSignature
SignatureT getSignature()Returns the function signature it belongs to. -
getOffset
int getOffset()Returns the instruction offset. -
isReturnExitNode
default boolean isReturnExitNode()Returns true if the node is the return location of the function (offset ==RETURN_EXIT_NODE_OFFSET). -
isExceptionExitNode
default boolean isExceptionExitNode()Returns true if the node is the return location of the function (offset ==EXCEPTION_EXIT_NODE_OFFSET). -
isUnknownNode
default boolean isUnknownNode()Returns true if the location of the node is unknown.
-