Class CAstCallGraphUtil
java.lang.Object
com.ibm.wala.cast.ipa.callgraph.CAstCallGraphUtil
- Direct Known Subclasses:
JSCallGraphUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ThreadLocal<Boolean> flag to prevent dumping of verbose call graph / pointer analysis output -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddumpCG(SSAContextInterpreter interp, PointerAnalysis<? extends InstanceKey> PA, CallGraph CG) static StringgetShortName(IMethod method) static StringgetShortName(CGNode nd) static SourceFileModule[]handleFileNames(String[] fileNameArgs) static IAnalysisCacheViewstatic AnalysisScopemakeScope(Module[] 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)
-
Field Details
-
AVOID_DUMP
flag to prevent dumping of verbose call graph / pointer analysis output
-
-
Constructor Details
-
CAstCallGraphUtil
public CAstCallGraphUtil()
-
-
Method Details
-
makeSourceModule
-
makeSourceModule
-
makeScope
public static AnalysisScope makeScope(String[] files, SingleClassLoaderFactory loaders, Language language) -
makeScope
public static AnalysisScope makeScope(Module[] files, SingleClassLoaderFactory loaders, Language language) -
makeCache
-
getShortName
-
getShortName
-
dumpCG
public static void dumpCG(SSAContextInterpreter interp, PointerAnalysis<? extends InstanceKey> PA, CallGraph CG) -
handleFileNames
-