Package qilin.util
Class PTAUtils
java.lang.Object
qilin.util.PTAUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<LocalVarNode,Set<AllocNode>> calcStaticThisPTS(PTA pta) static booleancanStoreType(View view, Type child, Type parent) static booleancastNeverFails(View view, Type src, Type dst) static Viewstatic voiddumpJimple(PTAScene scene, String outputDir) static StringfindMainFromMetaInfo(String appPath) static ClassTypegetClassType(String fullyQualifiedClassName) static Objectstatic Bodystatic StringgetNodeLabel(Node node) static booleanstatic booleanisConstructor(SootMethod method) static booleanisEmptyArray(AllocNode heap) static booleanisFakeMainClass(ClassType classType) static booleanisFakeMainMethod(SootMethod method) static booleanstatic booleanisPrimitiveArrayType(Type type) static booleanisStaticInitializer(SootMethod method) static booleanisThrowable(View view, Type type) static booleanstatic LocalVarNodeparamToArg(PAG pag, InvokableStmt invokeStmt, MethodPAG srcmpag, VarNode pi) static ContextplusplusOp(AllocNode heap) static voidprintPts(PTA pta, PointsToSet pts) static booleanstatic voidupdateMethodBody(SootMethod m, Body body) static voidwriteJimple(String parentDir, SootClass clz) Write the jimple file for clz.
-
Constructor Details
-
PTAUtils
public PTAUtils()
-
-
Method Details
-
getClassType
-
isStaticInitializer
-
isConstructor
-
calcStaticThisPTS
-
getIR
-
mustAlias
-
printPts
-
getNodeLabel
-
isThrowable
-
canStoreType
-
castNeverFails
-
subtypeOfAbstractStringBuilder
-
plusplusOp
-
isFakeMainMethod
-
isFakeMainClass
-
isOfPrimitiveBaseType
-
isPrimitiveArrayType
-
dumpJimple
-
writeJimple
Write the jimple file for clz. ParentDir is the absolute path of parent directory. -
findMainFromMetaInfo
-
getMethodBody
-
updateMethodBody
-
hasBody
-
isEmptyArray
-
paramToArg
public static LocalVarNode paramToArg(PAG pag, InvokableStmt invokeStmt, MethodPAG srcmpag, VarNode pi) -
createView
-