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 7e39967 commit 01fcc41Copy full SHA for 01fcc41
shared/controlflow/codeql/controlflow/Cfg.qll
@@ -1516,6 +1516,8 @@ module MakeWithSplitting<
1516
query predicate multipleSuccessors(Node node, SuccessorType t, Node successor) {
1517
strictcount(getASuccessor(node, t)) > 1 and
1518
successor = getASuccessor(node, t) and
1519
+ // allow for multiple exception successors
1520
+ not t instanceof ExceptionSuccessor and
1521
// allow for functions with multiple bodies
1522
not (t instanceof SimpleSuccessorType and node instanceof EntryNode)
1523
}
0 commit comments