mirror of
https://github.com/github/codeql.git
synced 2026-03-27 09:48:16 +01:00
14 lines
331 B
Plaintext
14 lines
331 B
Plaintext
import csharp
|
|
import Common
|
|
|
|
query predicate edges(
|
|
SourceControlFlowElement node, SourceControlFlowElement successor, string attr, string val
|
|
) {
|
|
exists(ControlFlow::SuccessorType t |
|
|
successor = node.getAControlFlowNode().getASuccessorByType(t).getElement()
|
|
|
|
|
attr = "semmle.label" and
|
|
val = t.toString()
|
|
)
|
|
}
|