Try-finally statements
Author: LGTM
import python
from Try t
where
exists(t.getFinalbody()) and
not exists(t.getAHandler())
select t
Description
Finds try-finally statements without an exception handler
import python
from Try t
where
exists(t.getFinalbody()) and
not exists(t.getAHandler())
select t
Finds try-finally statements without an exception handler