public final class PTAUtils extends Object
| Constructor and Description |
|---|
PTAUtils() |
| Modifier and Type | Method and Description |
|---|---|
static 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 |
createView() |
static void |
dumpJimple(PTAScene scene,
String outputDir) |
static String |
findMainFromMetaInfo(String appPath) |
static ClassType |
getClassType(String fullyQualifiedClassName) |
static Object |
getIR(Object sparkNode) |
static Body |
getMethodBody(SootMethod m) |
static String |
getNodeLabel(Node node) |
static boolean |
hasBody(SootMethod m) |
static boolean |
isConstructor(SootMethod method) |
static boolean |
isEmptyArray(AllocNode heap) |
static boolean |
isFakeMainClass(ClassType classType) |
static boolean |
isFakeMainMethod(SootMethod method) |
static boolean |
isOfPrimitiveBaseType(AllocNode heap) |
static boolean |
isPrimitiveArrayType(Type type) |
static boolean |
isStaticInitializer(SootMethod method) |
static boolean |
isThrowable(View view,
Type type) |
static boolean |
mustAlias(PTA pta,
VarNode v1,
VarNode v2) |
static LocalVarNode |
paramToArg(PAG pag,
Stmt invokeStmt,
MethodPAG srcmpag,
VarNode pi) |
static Context |
plusplusOp(AllocNode heap) |
static void |
printPts(PTA pta,
PointsToSet pts) |
static boolean |
subtypeOfAbstractStringBuilder(Type t) |
static void |
updateMethodBody(SootMethod m,
Body body) |
static void |
writeJimple(String parentDir,
SootClass clz)
Write the jimple file for clz.
|
public static boolean isStaticInitializer(SootMethod method)
public static boolean isConstructor(SootMethod method)
public static Map<LocalVarNode,Set<AllocNode>> calcStaticThisPTS(PTA pta)
public static void printPts(PTA pta, PointsToSet pts)
public static boolean subtypeOfAbstractStringBuilder(Type t)
public static boolean isFakeMainMethod(SootMethod method)
public static boolean isFakeMainClass(ClassType classType)
public static boolean isOfPrimitiveBaseType(AllocNode heap)
public static boolean isPrimitiveArrayType(Type type)
public static void writeJimple(String parentDir, SootClass clz)
public static Body getMethodBody(SootMethod m)
public static void updateMethodBody(SootMethod m, Body body)
public static boolean hasBody(SootMethod m)
public static boolean isEmptyArray(AllocNode heap)
public static LocalVarNode paramToArg(PAG pag, Stmt invokeStmt, MethodPAG srcmpag, VarNode pi)
public static View createView()
Copyright © 2024 Soot OSS. All rights reserved.