mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
12 lines
284 B
Plaintext
12 lines
284 B
Plaintext
import csharp
|
|
import Common
|
|
|
|
query predicate edges(
|
|
SourceControlFlowNode node, SourceControlFlowNode successor, string attr, string val
|
|
) {
|
|
exists(ControlFlow::SuccessorType t | successor = node.getASuccessorByType(t) |
|
|
attr = "semmle.label" and
|
|
val = t.toString()
|
|
)
|
|
}
|