Package com.ibm.wala.cast.ipa.callgraph
Class CAstCallGraphUtil
- java.lang.Object
-
- com.ibm.wala.cast.ipa.callgraph.CAstCallGraphUtil
-
public class CAstCallGraphUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
AVOID_DUMP
flag to prevent dumping of verbose call graph / pointer analysis output
-
Constructor Summary
Constructors Constructor Description CAstCallGraphUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
dumpCG(PointerAnalysis<InstanceKey> PA, CallGraph CG)
static String
getShortName(IMethod method)
static String
getShortName(CGNode nd)
static SourceFileModule[]
handleFileNames(String[] fileNameArgs)
static AnalysisCache
makeCache(IRFactory<IMethod> factory)
static AnalysisScope
makeScope(SourceModule[] files, SingleClassLoaderFactory loaders, Language language)
static AnalysisScope
makeScope(String[] files, SingleClassLoaderFactory loaders, Language language)
static SourceFileModule
makeSourceModule(URL script, String scriptName)
static SourceFileModule
makeSourceModule(URL script, String dir, String name)
-
-
-
Method Detail
-
makeSourceModule
public static SourceFileModule makeSourceModule(URL script, String dir, String name)
-
makeSourceModule
public static SourceFileModule makeSourceModule(URL script, String scriptName)
-
makeScope
public static AnalysisScope makeScope(String[] files, SingleClassLoaderFactory loaders, Language language) throws IOException
- Throws:
IOException
-
makeScope
public static AnalysisScope makeScope(SourceModule[] files, SingleClassLoaderFactory loaders, Language language) throws IOException
- Throws:
IOException
-
makeCache
public static AnalysisCache makeCache(IRFactory<IMethod> factory)
-
dumpCG
public static void dumpCG(PointerAnalysis<InstanceKey> PA, CallGraph CG)
-
handleFileNames
public static SourceFileModule[] handleFileNames(String[] fileNameArgs)
-
-