Files
codeql/python/ql/test/3/library-tests/ControlFlow/Exceptions/Likely.ql
2019-02-08 14:39:27 +00:00

7 lines
240 B
Plaintext

import python
from ControlFlowNode r, ControlFlowNode s
where s = r.getAnExceptionalSuccessor() and
not r.(RaisingNode).unlikelySuccessor(s)
select r.getLocation().getStartLine(), r.toString(), s.getLocation().getStartLine(), s.toString()