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.
1 parent 4b899bb commit 0df7d6fCopy full SHA for 0df7d6f
shared/controlflow/codeql/controlflow/Cfg.qll
@@ -1521,6 +1521,8 @@ module MakeWithSplitting<
1521
query predicate multipleSuccessors(Node node, SuccessorType t, Node successor) {
1522
strictcount(getASuccessor(node, t)) > 1 and
1523
successor = getASuccessor(node, t) and
1524
+ // allow for multiple exception successors
1525
+ not t instanceof ExceptionSuccessor and
1526
// allow for functions with multiple bodies
1527
not (t instanceof SimpleSuccessorType and node instanceof EntryNode)
1528
}
0 commit comments