mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
11 lines
325 B
Plaintext
11 lines
325 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()
|
|
)
|
|
}
|