Package soot.jimple.spark.geom.dataRep
Class CallsiteContextVar
- java.lang.Object
-
- soot.jimple.spark.geom.dataRep.ContextVar
-
- soot.jimple.spark.geom.dataRep.CallsiteContextVar
-
- All Implemented Interfaces:
Numberable
public class CallsiteContextVar extends ContextVar
A general interface for generating the traditional context sensitive variable representation.- Author:
- xiao
-
-
Field Summary
Fields Modifier and Type Field Description CgEdgecontext-
Fields inherited from class soot.jimple.spark.geom.dataRep.ContextVar
id, var
-
-
Constructor Summary
Constructors Constructor Description CallsiteContextVar()CallsiteContextVar(CallsiteContextVar o)CallsiteContextVar(CgEdge c, Node v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(ContextVar cv)Test if current context variable contains the information for passed in variablebooleanequals(Object o)inthashCode()booleanintersect(ContextVar cv)Two context sensitive variables have intersected contexts.booleanmerge(ContextVar cv)Merge two context variables if possible Merged information is written into current variable.StringtoString()-
Methods inherited from class soot.jimple.spark.geom.dataRep.ContextVar
getNumber, setNumber
-
-
-
-
Field Detail
-
context
public CgEdge context
-
-
Constructor Detail
-
CallsiteContextVar
public CallsiteContextVar()
-
CallsiteContextVar
public CallsiteContextVar(CallsiteContextVar o)
-
-
Method Detail
-
contains
public boolean contains(ContextVar cv)
Description copied from class:ContextVarTest if current context variable contains the information for passed in variable- Specified by:
containsin classContextVar- Returns:
-
merge
public boolean merge(ContextVar cv)
Description copied from class:ContextVarMerge two context variables if possible Merged information is written into current variable.- Specified by:
mergein classContextVar- Returns:
- true if mergable.
-
intersect
public boolean intersect(ContextVar cv)
Description copied from class:ContextVarTwo context sensitive variables have intersected contexts.- Specified by:
intersectin classContextVar- Returns:
-
-