Class ExceptionTransferFunctionProvider
java.lang.Object
com.ibm.wala.analysis.exceptionanalysis.ExceptionTransferFunctionProvider
- All Implemented Interfaces:
ITransferFunctionProvider<CGNode, BitVectorVariable>
public class ExceptionTransferFunctionProvider
extends Object
implements ITransferFunctionProvider<CGNode, BitVectorVariable>
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionTransferFunctionProvider(CGIntraproceduralExceptionAnalysis intraResult, CallGraph cg, Exception2BitvectorTransformer transformer) -
Method Summary
Modifier and TypeMethodDescriptiongetEdgeTransferFunction(CGNode dst, CGNode src) TODO: perhaps this should go with a Lattice object instead.booleanboolean
-
Constructor Details
-
ExceptionTransferFunctionProvider
public ExceptionTransferFunctionProvider(CGIntraproceduralExceptionAnalysis intraResult, CallGraph cg, Exception2BitvectorTransformer transformer)
-
-
Method Details
-
hasNodeTransferFunctions
public boolean hasNodeTransferFunctions()- Specified by:
hasNodeTransferFunctionsin interfaceITransferFunctionProvider<CGNode, BitVectorVariable>- Returns:
- true if this provider provides node transfer functions
-
hasEdgeTransferFunctions
public boolean hasEdgeTransferFunctions()- Specified by:
hasEdgeTransferFunctionsin interfaceITransferFunctionProvider<CGNode, BitVectorVariable>- Returns:
- true if this provider provides edge transfer functions
-
getMeetOperator
Description copied from interface:ITransferFunctionProviderTODO: perhaps this should go with a Lattice object instead. TODO: provide an API to allow composition of the meet operator with the flow operator for a given block, as an optimization?- Specified by:
getMeetOperatorin interfaceITransferFunctionProvider<CGNode, BitVectorVariable>
-
getNodeTransferFunction
- Specified by:
getNodeTransferFunctionin interfaceITransferFunctionProvider<CGNode, BitVectorVariable>- Returns:
- the transfer function from IN_node -> OUT_node
-
getEdgeTransferFunction
- Specified by:
getEdgeTransferFunctionin interfaceITransferFunctionProvider<CGNode, BitVectorVariable>- Returns:
- the transfer function from OUT_src -> EDGE_<src,dst>
-