Package qilin.util
Class CallDetails
java.lang.Object
qilin.util.CallDetails
Tracks per-callsite call relationships and contexts, mainly for the MOON debloating approach and
Zipper's optimized
PotentialContextElement. One instance lives per PTAScene (see PTAScene#getCallDetails()) rather than as a JVM-global
singleton, so independent/concurrent PTA runs never share this state.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgToParamToRecvValue(PagNode arg, PagNode param, Stmt callStmt) voidaddCalleeToContextAndCaller(SootMethod callee, Object ctx, SootMethod caller) voidaddInvokeExpr(LocalVarNode receiver, AbstractInstanceInvokeExpr invokeExpr) voiddisable()voidenable()getCalleesOf(SootMethod caller) getRecvValueOfArgAndParam(LocalVarNode arg, LocalVarNode param) usageContextAndCallerOf(SootMethod callee)
-
Field Details
-
STATIC_OBJ_CTX
-
-
Constructor Details
-
CallDetails
public CallDetails()
-
-
Method Details
-
enable
public void enable() -
disable
public void disable() -
addCalleeToContextAndCaller
-
usageContextAndCallerOf
-
addInvokeExpr
-
addArgToParamToRecvValue
-
getRecvValueOfArgAndParam
-
getCalleesOf
-