Package qilin.util
Class PTAUtils
java.lang.Object
qilin.util.PTAUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<LocalVarNode,
Set<AllocNode>> calcStaticThisPTS
(PTA pta) static boolean
canStoreType
(View view, Type child, Type parent) static boolean
castNeverFails
(View view, Type src, Type dst) static View
static void
dumpJimple
(PTAScene scene, String outputDir) static String
findMainFromMetaInfo
(String appPath) static ClassType
getClassType
(String fullyQualifiedClassName) static Object
static Body
static String
getNodeLabel
(Node node) static boolean
static boolean
isConstructor
(SootMethod method) static boolean
isEmptyArray
(AllocNode heap) static boolean
isFakeMainClass
(ClassType classType) static boolean
isFakeMainMethod
(SootMethod method) static boolean
static boolean
isPrimitiveArrayType
(Type type) static boolean
isStaticInitializer
(SootMethod method) static boolean
isThrowable
(View view, Type type) static boolean
static LocalVarNode
paramToArg
(PAG pag, InvokableStmt invokeStmt, MethodPAG srcmpag, VarNode pi) static Context
plusplusOp
(AllocNode heap) static void
printPts
(PTA pta, PointsToSet pts) static boolean
static void
updateMethodBody
(SootMethod m, Body body) static void
writeJimple
(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
-