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 booleanAVOID_DUMPflag 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 voiddumpCG(PointerAnalysis<InstanceKey> PA, CallGraph CG)static StringgetShortName(IMethod method)static StringgetShortName(CGNode nd)static SourceFileModule[]handleFileNames(String[] fileNameArgs)static AnalysisCachemakeCache(IRFactory<IMethod> factory)static AnalysisScopemakeScope(SourceModule[] files, SingleClassLoaderFactory loaders, Language language)static AnalysisScopemakeScope(String[] files, SingleClassLoaderFactory loaders, Language language)static SourceFileModulemakeSourceModule(URL script, String scriptName)static SourceFileModulemakeSourceModule(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)
-
-