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