mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
14 lines
368 B
Plaintext
14 lines
368 B
Plaintext
// query-type: graph
|
|
import sbb_test
|
|
|
|
class CutCall extends SubBasicBlockCutNode {
|
|
CutCall() {
|
|
mkElement(this).(FunctionCall).getTarget().getName() = "cut"
|
|
}
|
|
}
|
|
|
|
from boolean isEdge, SubBasicBlock x, SubBasicBlock y, string label
|
|
where isNode(isEdge, x, y, label) or isSuccessor(isEdge, x, y, label)
|
|
select x.getEnclosingFunction().toString(), isEdge, x, y, label
|
|
|