mirror of
https://github.com/github/codeql.git
synced 2026-08-03 08:52:55 +02:00
10 lines
290 B
Plaintext
10 lines
290 B
Plaintext
import csharp
|
|
|
|
query predicate edges(ControlFlowNode node, ControlFlowNode successor, string attr, string val) {
|
|
not node.getAstNode().fromLibrary() and
|
|
exists(ControlFlow::SuccessorType t | successor = node.getASuccessor(t) |
|
|
attr = "semmle.label" and
|
|
val = t.toString()
|
|
)
|
|
}
|