Redirect edges leaving an exception handler to handler blocks through abnormal edges #12
Labels
control-flow
Issue related to the control flow analysis modules of Echo.
enhancement
New feature or request
Summary:
The handler region is often a region that is considered unreachable through normal execution paths. They therefore look very similar to orphan jumps in the resulting control flow graph, whereas in fact nodes within a protected region might transfer control to one of the handlers. Furthermore, for constructs like the try-finally, the actual "exception-less" flow might not be correctly encoded in the graph.
The suggestion is:
A try-catch with orphan handler blocks
Try-catch after enabling option 1
Try-finally with orphan handler and inaccurate flow control
Try-finally after enabling option 2
The text was updated successfully, but these errors were encountered: