We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 464a034 + 2bbe475 commit 9068040Copy full SHA for 9068040
python/ql/src/Exceptions/NotImplemented.qll
@@ -3,7 +3,7 @@ import python
3
4
/** Holds if `notimpl` refers to `NotImplemented` or `NotImplemented()` in the `raise` statement */
5
predicate use_of_not_implemented_in_raise(Raise raise, Expr notimpl) {
6
- notimpl.refersTo(Object::notImplemented()) and
+ notimpl.pointsTo(Value::named("NotImplemented")) and
7
(
8
notimpl = raise.getException() or
9
notimpl = raise.getException().(Call).getFunc()
0 commit comments