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 4f8166a commit d5a2387Copy full SHA for d5a2387
shared/controlflow/codeql/controlflow/Cfg.qll
@@ -1020,6 +1020,12 @@ module MakeWithSplitting<
1020
not jbp instanceof BasicBlocks::EntryBasicBlock and
1021
id = idOfAstNode(jbp.getFirstNode().(AstCfgNode).getAstNode()) and
1022
kind = 1
1023
+ or
1024
+ exists(AnnotatedExitNode aen |
1025
+ jbp.getFirstNode() = aen and
1026
+ id = idOfCfgScope(aen.getScope()) and
1027
+ if aen.isNormal() then kind = 2 else kind = 3
1028
+ )
1029
}
1030
1031
string getSplitString(BasicBlocks::JoinPredecessorBasicBlock jbp) {
0 commit comments