Class OptimisticCallgraphBuilder
java.lang.Object
com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder
com.ibm.wala.cast.js.callgraph.fieldbased.OptimisticCallgraphBuilder
Optimistic call graph builder that propagates inter-procedural data flow iteratively as call
edges are discovered. Slower, but potentially more sound than
PessimisticCallGraphBuilder
.- Author:
- mschaefer
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder
FieldBasedCallGraphBuilder.CallGraphResult
-
Field Summary
Modifier and TypeFieldDescriptionint
The maximum number of iterations to perform.Fields inherited from class com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder
cache, cha, constructors, options, supportFullPointerAnalysis, targetSelector
-
Constructor Summary
ConstructorDescriptionOptimisticCallgraphBuilder
(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView iAnalysisCacheView, boolean supportFullPointerAnalysis) -
Method Summary
Modifier and TypeMethodDescriptionBuild a flow graph for the program to be analysed.Methods inherited from class com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder
addEdgeToJSCallGraph, buildCallGraph, extract, extract, extractCallGraphEdges, flowGraphFactory, handleFunctionCallOrApplyInvocation
-
Field Details
-
ITERATION_CUTOFF
public int ITERATION_CUTOFFThe maximum number of iterations to perform.
-
-
Constructor Details
-
OptimisticCallgraphBuilder
public OptimisticCallgraphBuilder(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView iAnalysisCacheView, boolean supportFullPointerAnalysis)
-
-
Method Details
-
buildFlowGraph
Description copied from class:FieldBasedCallGraphBuilder
Build a flow graph for the program to be analysed.- Specified by:
buildFlowGraph
in classFieldBasedCallGraphBuilder
- Throws:
CancelException
-