Package qilin.util
Class PagQueries
java.lang.Object
qilin.util.PagQueries
Small queries and printing helpers over PAG nodes and points-to sets.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectUnwraps a PAG node down to the sootup/qilin value it represents.static StringgetNodeLabel(PagNode node) static booleanstatic LocalVarNodeparamToArg(PAG pag, InvokableStmt invokeStmt, MethodPAG srcmpag, VarNode pi) Given a callee-side parameter/this/return/throw nodepi, returns the corresponding caller-side argument node at the call siteinvokeStmt.static ContextplusplusOp(AllocNode heap) Extends heap's context by one more element (heap itself), for object-sensitive analyses.static voidprintPts(PTA pta, PointsToSet pts)
-
Method Details
-
getIR
Unwraps a PAG node down to the sootup/qilin value it represents. -
mustAlias
-
printPts
-
getNodeLabel
-
plusplusOp
Extends heap's context by one more element (heap itself), for object-sensitive analyses. -
paramToArg
public static LocalVarNode paramToArg(PAG pag, InvokableStmt invokeStmt, MethodPAG srcmpag, VarNode pi) Given a callee-side parameter/this/return/throw nodepi, returns the corresponding caller-side argument node at the call siteinvokeStmt.
-