Package soot.jimple.spark.geom.ptinsE
Class PtInsNode
- java.lang.Object
-
- soot.jimple.spark.geom.geomPA.IVarAbstraction
-
- soot.jimple.spark.geom.ptinsE.PtInsNode
-
- All Implemented Interfaces:
Numberable
@Deprecated public class PtInsNode extends IVarAbstraction
Deprecated.This class defines a pointer variable in the PtIns encoding based points-to solver. Also, it is NOT recommended to use.- Author:
- xiao
-
-
Field Summary
Fields Modifier and Type Field Description Vector<PlainConstraint>complex_consDeprecated.Map<PtInsNode,PtInsIntervalManager>flowtoDeprecated.Map<AllocNode,PtInsIntervalManager>new_ptsDeprecated.Map<AllocNode,PtInsIntervalManager>pt_objsDeprecated.-
Fields inherited from class soot.jimple.spark.geom.geomPA.IVarAbstraction
deadManager, id, lrf_value, me, parent, pres, Qpos, stubManager, top_value, willUpdate
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanadd_points_to_3(AllocNode obj, long I1, long I2, long L)Deprecated.booleanadd_points_to_4(AllocNode obj, long I1, long I2, long L1, long L2)Deprecated.booleanadd_simple_constraint_3(IVarAbstraction qv, long I1, long I2, long L)Deprecated.booleanadd_simple_constraint_4(IVarAbstraction qv, long I1, long I2, long L1, long L2)Deprecated.intcount_flow_intervals(IVarAbstraction qv)Deprecated.intcount_new_pts_intervals()Deprecated.intcount_pts_intervals(AllocNode obj)Deprecated.voiddeleteAll()Deprecated.voiddo_after_propagation()Deprecated.Remember to clean the is_new flagvoiddo_before_propagation()Deprecated.voiddrop_duplicates()Deprecated.Discard all context sensitive tuples which are covered by insensitive onesvoidget_all_context_sensitive_objects(long l, long r, PtSensVisitor visitor)Deprecated.Given the pointers falling in the context range [l, r), we compute the set of context sensitive objects pointed to by those pointers.Set<AllocNode>get_all_points_to_objects()Deprecated.Obtain context insensitive points-to result (by removing contexts).booleanheap_sensitive_intersection(IVarAbstraction qv)Deprecated.Query if this pointer and qv could point to the same object under any contextsvoidinjectPts()Deprecated.booleanisDeadObject(AllocNode obj)Deprecated.Test if the particular object has been obsoleted.voidkeepPointsToOnly()Deprecated.intnum_of_diff_edges()Deprecated.intnum_of_diff_objs()Deprecated.Return -1 if this pointer does not have points-to information.booleanpointer_interval_points_to(long l, long r, AllocNode obj)Deprecated.Test if the pointer in the context range [l, R) points to object obj.voidprint_context_sensitive_points_to(PrintStream outPrintStream)Deprecated.voidpropagate(GeomPointsTo ptAnalyzer, IWorklist worklist)Deprecated.An efficient implementation of differential propagation.voidput_complex_constraint(PlainConstraint cons)Deprecated.voidreconstruct()Deprecated.voidremove_points_to(AllocNode obj)Deprecated.-
Methods inherited from class soot.jimple.spark.geom.geomPA.IVarAbstraction
enclosingMethod, getNumber, getRepresentative, getType, getWrappedNode, hasPTResult, isLocalPointer, lessThan, merge, reachable, setNumber, toString
-
-
-
-
Field Detail
-
flowto
public Map<PtInsNode,PtInsIntervalManager> flowto
Deprecated.
-
pt_objs
public Map<AllocNode,PtInsIntervalManager> pt_objs
Deprecated.
-
new_pts
public Map<AllocNode,PtInsIntervalManager> new_pts
Deprecated.
-
complex_cons
public Vector<PlainConstraint> complex_cons
Deprecated.
-
-
Constructor Detail
-
PtInsNode
public PtInsNode(Node thisVar)
Deprecated.
-
-
Method Detail
-
deleteAll
public void deleteAll()
Deprecated.- Specified by:
deleteAllin classIVarAbstraction
-
reconstruct
public void reconstruct()
Deprecated.- Specified by:
reconstructin classIVarAbstraction
-
do_before_propagation
public void do_before_propagation()
Deprecated.- Specified by:
do_before_propagationin classIVarAbstraction
-
do_after_propagation
public void do_after_propagation()
Deprecated.Remember to clean the is_new flag- Specified by:
do_after_propagationin classIVarAbstraction
-
num_of_diff_objs
public int num_of_diff_objs()
Deprecated.Description copied from class:IVarAbstractionReturn -1 if this pointer does not have points-to information. This function can be used for testing if the pointer has been processed by geomPTA.- Specified by:
num_of_diff_objsin classIVarAbstraction
-
num_of_diff_edges
public int num_of_diff_edges()
Deprecated.- Specified by:
num_of_diff_edgesin classIVarAbstraction
-
add_points_to_3
public boolean add_points_to_3(AllocNode obj, long I1, long I2, long L)
Deprecated.- Specified by:
add_points_to_3in classIVarAbstraction
-
add_points_to_4
public boolean add_points_to_4(AllocNode obj, long I1, long I2, long L1, long L2)
Deprecated.- Specified by:
add_points_to_4in classIVarAbstraction
-
add_simple_constraint_3
public boolean add_simple_constraint_3(IVarAbstraction qv, long I1, long I2, long L)
Deprecated.- Specified by:
add_simple_constraint_3in classIVarAbstraction
-
add_simple_constraint_4
public boolean add_simple_constraint_4(IVarAbstraction qv, long I1, long I2, long L1, long L2)
Deprecated.- Specified by:
add_simple_constraint_4in classIVarAbstraction
-
put_complex_constraint
public void put_complex_constraint(PlainConstraint cons)
Deprecated.- Specified by:
put_complex_constraintin classIVarAbstraction
-
drop_duplicates
public void drop_duplicates()
Deprecated.Discard all context sensitive tuples which are covered by insensitive ones- Specified by:
drop_duplicatesin classIVarAbstraction
-
propagate
public void propagate(GeomPointsTo ptAnalyzer, IWorklist worklist)
Deprecated.An efficient implementation of differential propagation.- Specified by:
propagatein classIVarAbstraction
-
count_pts_intervals
public int count_pts_intervals(AllocNode obj)
Deprecated.- Specified by:
count_pts_intervalsin classIVarAbstraction
-
count_flow_intervals
public int count_flow_intervals(IVarAbstraction qv)
Deprecated.- Specified by:
count_flow_intervalsin classIVarAbstraction
-
heap_sensitive_intersection
public boolean heap_sensitive_intersection(IVarAbstraction qv)
Deprecated.Query if this pointer and qv could point to the same object under any contexts- Specified by:
heap_sensitive_intersectionin classIVarAbstraction- Returns:
-
get_all_points_to_objects
public Set<AllocNode> get_all_points_to_objects()
Deprecated.Description copied from class:IVarAbstractionObtain context insensitive points-to result (by removing contexts).- Specified by:
get_all_points_to_objectsin classIVarAbstraction- Returns:
-
print_context_sensitive_points_to
public void print_context_sensitive_points_to(PrintStream outPrintStream)
Deprecated.- Specified by:
print_context_sensitive_points_toin classIVarAbstraction
-
pointer_interval_points_to
public boolean pointer_interval_points_to(long l, long r, AllocNode obj)Deprecated.Description copied from class:IVarAbstractionTest if the pointer in the context range [l, R) points to object obj.- Specified by:
pointer_interval_points_toin classIVarAbstraction- Returns:
-
remove_points_to
public void remove_points_to(AllocNode obj)
Deprecated.- Specified by:
remove_points_toin classIVarAbstraction
-
keepPointsToOnly
public void keepPointsToOnly()
Deprecated.- Specified by:
keepPointsToOnlyin classIVarAbstraction
-
count_new_pts_intervals
public int count_new_pts_intervals()
Deprecated.- Specified by:
count_new_pts_intervalsin classIVarAbstraction
-
get_all_context_sensitive_objects
public void get_all_context_sensitive_objects(long l, long r, PtSensVisitor visitor)Deprecated.Description copied from class:IVarAbstractionGiven the pointers falling in the context range [l, r), we compute the set of context sensitive objects pointed to by those pointers. This function is designed in visitor pattern.- Specified by:
get_all_context_sensitive_objectsin classIVarAbstraction- See Also:
Obj_1cfa_extractor,Obj_full_extractor
-
injectPts
public void injectPts()
Deprecated.- Specified by:
injectPtsin classIVarAbstraction
-
isDeadObject
public boolean isDeadObject(AllocNode obj)
Deprecated.Description copied from class:IVarAbstractionTest if the particular object has been obsoleted. It's mainly for points-to developer use.- Specified by:
isDeadObjectin classIVarAbstraction- Returns:
-
-