Package pascal.taie.analysis.exception
Class CatchAnalysis
java.lang.Object
pascal.taie.analysis.exception.CatchAnalysis
Intra-procedural catch analysis for computing the exceptions thrown by
each Stmt will be caught by which Stmts, or not caught at all.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CatchResult
analyze
(IR ir, ThrowResult throwResult) Analyzes the exceptions thrown by each Stmt in given IR may be caught by which (catch) Stmts, and which exceptions are not caught in the IR.static Map<Stmt,
List<ExceptionEntry>>
-
Constructor Details
-
CatchAnalysis
public CatchAnalysis()
-
-
Method Details
-
analyze
Analyzes the exceptions thrown by each Stmt in given IR may be caught by which (catch) Stmts, and which exceptions are not caught in the IR. -
getPotentialCatchers
- Returns:
- a map from each Stmt to a list of exception entries which may catch the exceptions thrown by the Stmt.
-