Class JavaScriptAnalysisEngine<I extends InstanceKey>
java.lang.Object
com.ibm.wala.client.AbstractAnalysisEngine<I,CallGraphBuilder<I>,Void>
com.ibm.wala.cast.js.client.JavaScriptAnalysisEngine<I>
- All Implemented Interfaces:
AnalysisEngine
- Direct Known Subclasses:
JavaScriptAnalysisEngine.FieldBasedJavaScriptAnalysisEngine
,JavaScriptAnalysisEngine.PropagationJavaScriptAnalysisEngine
public abstract class JavaScriptAnalysisEngine<I extends InstanceKey>
extends AbstractAnalysisEngine<I,CallGraphBuilder<I>,Void>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.ibm.wala.client.AbstractAnalysisEngine
AbstractAnalysisEngine.EntrypointBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprotected JavaScriptLoaderFactory
protected JavaScriptTranslatorFactory
Fields inherited from class com.ibm.wala.client.AbstractAnalysisEngine
cg, DEBUG_LEVEL, j2seLibs, moduleFiles, pointerAnalysis, scope, SYNTHETIC_J2SE_MODEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Set up the AnalysisScope objectgetDefaultOptions
(Iterable<Entrypoint> roots) Get the default analysis options appropriate for this engineprotected Iterable
<Entrypoint> void
setJ2SELibraries
(Module[] libs) Specify the mdoules that represent the standard J2SE librariesvoid
setJ2SELibraries
(JarFile[] libs) Specify the jar files that represent the standard J2SE librariesvoid
Methods inherited from class com.ibm.wala.client.AbstractAnalysisEngine
addApplicationModulesToScope, buildCallGraph, buildDefaultCallGraph, defaultCallGraphBuilder, getCache, getCallGraph, getCallGraphBuilder, getClassHierarchy, getExclusionsFile, getHeapGraph, getOptions, getPointerAnalysis, getScope, getSDG, isClosedWorld, makeClassLoaderFactory, performAnalysis, setClassHierarchy, setClosedWorld, setEntrypointBuilder, setExclusionsFile, setModuleFiles
-
Field Details
-
loaderFactory
-
translatorFactory
-
-
Constructor Details
-
JavaScriptAnalysisEngine
public JavaScriptAnalysisEngine()
-
-
Method Details
-
buildAnalysisScope
public void buildAnalysisScope()Description copied from class:AbstractAnalysisEngine
Set up the AnalysisScope object- Overrides:
buildAnalysisScope
in classAbstractAnalysisEngine<I extends InstanceKey,
CallGraphBuilder<I extends InstanceKey>, Void>
-
buildClassHierarchy
- Overrides:
buildClassHierarchy
in classAbstractAnalysisEngine<I extends InstanceKey,
CallGraphBuilder<I extends InstanceKey>, Void> - Returns:
- a IClassHierarchy object for this analysis scope
-
setTranslatorFactory
-
setJ2SELibraries
Description copied from interface:AnalysisEngine
Specify the jar files that represent the standard J2SE libraries- Specified by:
setJ2SELibraries
in interfaceAnalysisEngine
- Overrides:
setJ2SELibraries
in classAbstractAnalysisEngine<I extends InstanceKey,
CallGraphBuilder<I extends InstanceKey>, Void> - Parameters:
libs
- an array of jar files; usually rt.jar for vanilla JDK core.jar, server.jar, and xml.jar for some WAS runtimes
-
setJ2SELibraries
Description copied from interface:AnalysisEngine
Specify the mdoules that represent the standard J2SE libraries- Specified by:
setJ2SELibraries
in interfaceAnalysisEngine
- Overrides:
setJ2SELibraries
in classAbstractAnalysisEngine<I extends InstanceKey,
CallGraphBuilder<I extends InstanceKey>, Void> - Parameters:
libs
- an array of Modules; usually rt.jar for vanilla JDK core.jar, server.jar, and xml.jar for some WAS runtimes
-
makeDefaultEntrypoints
- Overrides:
makeDefaultEntrypoints
in classAbstractAnalysisEngine<I extends InstanceKey,
CallGraphBuilder<I extends InstanceKey>, Void>
-
makeDefaultCache
- Overrides:
makeDefaultCache
in classAbstractAnalysisEngine<I extends InstanceKey,
CallGraphBuilder<I extends InstanceKey>, Void>
-
getDefaultOptions
Description copied from interface:AnalysisEngine
Get the default analysis options appropriate for this engine- Specified by:
getDefaultOptions
in interfaceAnalysisEngine
- Overrides:
getDefaultOptions
in classAbstractAnalysisEngine<I extends InstanceKey,
CallGraphBuilder<I extends InstanceKey>, Void>
-