public class CAstCallGraphUtil extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
AVOID_DUMP
flag to prevent dumping of verbose call graph / pointer analysis output
|
Constructor and Description |
---|
CAstCallGraphUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpCG(PointerAnalysis<InstanceKey> PA,
CallGraph CG) |
static String |
getShortName(CGNode nd) |
static String |
getShortName(IMethod method) |
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) |
public static boolean AVOID_DUMP
public static SourceFileModule makeSourceModule(URL script, String dir, String name)
public static SourceFileModule makeSourceModule(URL script, String scriptName)
public static AnalysisScope makeScope(String[] files, SingleClassLoaderFactory loaders, Language language) throws IOException
IOException
public static AnalysisScope makeScope(SourceModule[] files, SingleClassLoaderFactory loaders, Language language) throws IOException
IOException
public static AnalysisCache makeCache(IRFactory<IMethod> factory)
public static void dumpCG(PointerAnalysis<InstanceKey> PA, CallGraph CG)
public static SourceFileModule[] handleFileNames(String[] fileNameArgs)