Package soot.jimple.spark.pag
Class AllocNode
- java.lang.Object
-
- soot.jimple.spark.pag.Node
-
- soot.jimple.spark.pag.AllocNode
-
- All Implemented Interfaces:
Context,ReferenceVariable,Numberable
- Direct Known Subclasses:
ClassConstantNode,StringConstantNode
public class AllocNode extends Node implements Context
Represents an allocation site node (Blue) in the pointer assignment graph.- Author:
- Ondrej Lhotak
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<SparkField,AllocDotField>fieldsprotected ObjectnewExpr-
Fields inherited from class soot.jimple.spark.pag.Node
p2set, pag, replacement, type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocDotFielddot(SparkField field)Returns the field ref node having this node as its base, and field as its field; null if nonexistent.Collection<AllocDotField>getAllFieldRefs()Returns all field ref nodes having this node as their base.Set<AllocDotField>getFields()SootMethodgetMethod()ObjectgetNewExpr()Returns the new expression of this allocation site.StringtoString()
-
-
-
Field Detail
-
newExpr
protected Object newExpr
-
fields
protected Map<SparkField,AllocDotField> fields
-
-
Method Detail
-
getNewExpr
public Object getNewExpr()
Returns the new expression of this allocation site.
-
getAllFieldRefs
public Collection<AllocDotField> getAllFieldRefs()
Returns all field ref nodes having this node as their base.
-
dot
public AllocDotField dot(SparkField field)
Returns the field ref node having this node as its base, and field as its field; null if nonexistent.
-
getFields
public Set<AllocDotField> getFields()
-
getMethod
public SootMethod getMethod()
-
-