public class SootUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SootUtil.CallSiteAndContext |
static class |
SootUtil.FieldAccessMap |
static class |
SootUtil.FieldToEdgesMap |
Constructor and Description |
---|
SootUtil() |
public static SootUtil.FieldAccessMap buildStoreMap(PAG pag)
public static boolean isRetNode(VarNode node)
node
- true
if node
represents the return value of a method; false
otherwisepublic static boolean isParamNode(VarNode node)
public static boolean isThisNode(VarNode node)
node
- true
if node
represents the this parameter of a method; false
otherwisepublic static boolean inLibrary(String className)
outerType
- public static boolean inLibrary(RefType type)
public static boolean isStringNode(VarNode node)
public static boolean isExceptionNode(VarNode node)
node
- public static SootUtil.FieldToEdgesMap storesOnField(PAG pag)
public static SootUtil.FieldToEdgesMap loadsOnField(PAG pag)
public static PointsToSetInternal constructIntersection(PointsToSetInternal set1, PointsToSetInternal set2, PAG pag)
public static boolean isThreadGlobal(VarNode node)
public static boolean isThreadStartMethod(SootMethod method)
public static boolean hasRecursiveField(SootClass sootClass)
public static void dumpVarNodeInfo(PAG pag)
public static boolean noRefTypeParameters(SootMethod method)
public static SootMethod getMainMethod()
public static boolean isResolvableCall(SootMethod invokedMethod)
public static Collection<? extends SootMethod> getCallTargets(Type type, SootMethod invokedMethod)
public static long getFreeLiveMemory()
public static SootMethod getAmbiguousMethodByName(String methodName)
public static String fakeSignature(String qualifiedName)
qualifiedName
- public static boolean isNewInstanceMethod(SootMethod method)
Copyright © 2019 Sable. All rights reserved.