Class ECJJavaSourceAnalysisEngine
java.lang.Object
com.ibm.wala.client.AbstractAnalysisEngine<InstanceKey, CallGraphBuilder<InstanceKey>, Void>
com.ibm.wala.cast.java.client.JavaSourceAnalysisEngine
com.ibm.wala.cast.java.client.ECJJavaSourceAnalysisEngine
- All Implemented Interfaces:
AnalysisEngine
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractAnalysisEngine
AbstractAnalysisEngine.EntrypointBuilder -
Field Summary
Fields inherited from class AbstractAnalysisEngine
cg, DEBUG_LEVEL, j2seLibs, moduleFiles, pointerAnalysis, scope, SYNTHETIC_J2SE_MODELModifier and TypeFieldDescriptionprotected CallGraphGoverning call graphprotected static final intDEBUG_LEVEL: 0 No output 1 Print some simple stats and warning information 2 Detailed debuggingprotected Module[]The standard J2SE libraries to analyzeprotected Collection<? extends Module> The modules to analyzeprotected PointerAnalysis<InstanceKey> Results of pointer analysisprotected AnalysisScopeA representation of the analysis scopestatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassLoaderFactorygetClassLoaderFactory(StringFilter exclusions) Methods inherited from class JavaSourceAnalysisEngine
addApplicationModulesToScope, addCompiledModule, addSourceModule, addSystemModule, buildAnalysisScope, buildClassHierarchy, getCallGraphBuilder, getDefaultOptions, getOptions, makeDefaultCache, makeDefaultEntrypoints, makeSourceAnalysisScopeModifier and TypeMethodDescriptionprotected voidAdd the application modules to the analysis scope.voidAdds the given compiled module to the application loader's module list.voidAdds the given source module to the source loader's module list.voidAdds the given module to the primordial loader's module list.voidSet up the AnalysisScope objectprotected AstJavaZeroXCFABuildergetCallGraphBuilder(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) getDefaultOptions(Iterable<Entrypoint> entrypoints) Get the default analysis options appropriate for this engineprotected Iterable<Entrypoint> protected AnalysisScopeMethods inherited from class AbstractAnalysisEngine
buildCallGraph, buildDefaultCallGraph, defaultCallGraphBuilder, getCache, getCallGraph, getClassHierarchy, getExclusionsFile, getHeapGraph, getPointerAnalysis, getScope, getSDG, isClosedWorld, makeClassLoaderFactory, performAnalysis, setClassHierarchy, setClosedWorld, setEntrypointBuilder, setExclusionsFile, setJ2SELibraries, setJ2SELibraries, setModuleFilesModifier and TypeMethodDescriptionprotected CallGraphBuilder<InstanceKey> buildCallGraph(IClassHierarchy cha, AnalysisOptions options, boolean savePointerAnalysis, MonitorUtil.IProgressMonitor monitor) Builds the call graph for the analysis scope in effect, using all of the given entry points.getCache()protected CallGraphHeapGraph<?> PointerAnalysis<? super InstanceKey> protected AnalysisScopegetScope()SDG<? super InstanceKey> booleanprotected ClassLoaderFactorymakeClassLoaderFactory(StringFilter exclusions) protected IClassHierarchyvoidsetClosedWorld(boolean b) Specify whether the engine should or should not employ "closed-world" analysis.voidvoidsetExclusionsFile(String exclusionsFile) voidsetJ2SELibraries(Module[] libs) Specify the mdoules that represent the standard J2SE librariesvoidsetJ2SELibraries(JarFile[] libs) Specify the jar files that represent the standard J2SE librariesvoidsetModuleFiles(Collection<? extends Module> moduleFiles) Specify the list of modules that should be analyzed.
-
Constructor Details
-
ECJJavaSourceAnalysisEngine
public ECJJavaSourceAnalysisEngine()
-
-
Method Details
-
getClassLoaderFactory
- Specified by:
getClassLoaderFactoryin classJavaSourceAnalysisEngine
-