Class PessimisticCallGraphBuilder
java.lang.Object
com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder
com.ibm.wala.cast.js.callgraph.fieldbased.PessimisticCallGraphBuilder
Call graph builder for building pessimistic call graphs, where inter-procedural flows are not
tracked except in the trivial case of local calls. This builder is fast, but in general less
sound than
OptimisticCallgraphBuilder
.- Author:
- mschaefer
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder
FieldBasedCallGraphBuilder.CallGraphResult
-
Field Summary
Fields inherited from class com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder
cache, cha, constructors, options, supportFullPointerAnalysis, targetSelector
-
Constructor Summary
ConstructorDescriptionPessimisticCallGraphBuilder
(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView iAnalysisCacheView, boolean supportFullPointerAnalysis) -
Method Summary
Modifier and TypeMethodDescriptionBuild a flow graph for the program to be analysed.protected boolean
filterFunction
(IMethod function) Methods inherited from class com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder
addEdgeToJSCallGraph, buildCallGraph, extract, extract, extractCallGraphEdges, flowGraphFactory, handleFunctionCallOrApplyInvocation
-
Constructor Details
-
PessimisticCallGraphBuilder
public PessimisticCallGraphBuilder(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
-
filterFunction
-