Package soot.jimple.spark.pag
Class MethodPAG
- java.lang.Object
-
- soot.jimple.spark.pag.MethodPAG
-
public final class MethodPAG extends Object
Part of a pointer assignment graph for a single method.- Author:
- Ondrej Lhotak
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanhasBeenAddedprotected booleanhasBeenBuiltprotected MethodNodeFactorynodeFactoryprotected NumberedStringsigCanonicalize
-
Constructor Summary
Constructors Modifier Constructor Description protectedMethodPAG(PAG pag, SootMethod m)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInEdge(Node src, Node dst)voidaddInternalEdge(Node src, Node dst)protected voidaddMiscEdges()voidaddOutEdge(Node src, Node dst)voidaddToPAG(Context varNodeParameter)Adds this method to the main PAG, with all VarNodes parameterized by varNodeParameter.voidbuild()protected voidbuildNative()protected voidbuildNormal()SootMethodgetMethod()MethodNodeFactorynodeFactory()PAGpag()protected FieldRefNodeparameterize(FieldRefNode frn, Context varNodeParameter)protected VarNodeparameterize(LocalVarNode vn, Context varNodeParameter)Nodeparameterize(Node n, Context varNodeParameter)static MethodPAGv(PAG pag, SootMethod m)
-
-
-
Field Detail
-
nodeFactory
protected MethodNodeFactory nodeFactory
-
hasBeenAdded
protected boolean hasBeenAdded
-
hasBeenBuilt
protected boolean hasBeenBuilt
-
sigCanonicalize
protected final NumberedString sigCanonicalize
-
-
Constructor Detail
-
MethodPAG
protected MethodPAG(PAG pag, SootMethod m)
-
-
Method Detail
-
pag
public PAG pag()
-
addToPAG
public void addToPAG(Context varNodeParameter)
Adds this method to the main PAG, with all VarNodes parameterized by varNodeParameter.
-
getMethod
public SootMethod getMethod()
-
nodeFactory
public MethodNodeFactory nodeFactory()
-
v
public static MethodPAG v(PAG pag, SootMethod m)
-
build
public void build()
-
parameterize
protected VarNode parameterize(LocalVarNode vn, Context varNodeParameter)
-
parameterize
protected FieldRefNode parameterize(FieldRefNode frn, Context varNodeParameter)
-
buildNormal
protected void buildNormal()
-
buildNative
protected void buildNative()
-
addMiscEdges
protected void addMiscEdges()
-
-