Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fae2fa + b33b222 commit b51e2a9Copy full SHA for b51e2a9
1 file changed
python/ql/src/Exceptions/CatchingBaseException.ql
@@ -19,7 +19,7 @@ predicate doesnt_reraise(ExceptStmt ex) {
19
}
20
21
predicate catches_base_exception(ExceptStmt ex) {
22
- ex.getType().refersTo(theBaseExceptionType())
+ ex.getType().pointsTo(ClassValue::baseException())
23
or
24
not exists(ex.getType())
25
0 commit comments