mirror of
https://github.com/github/codeql.git
synced 2026-04-14 11:34:00 +02:00
18 lines
546 B
Plaintext
18 lines
546 B
Plaintext
import csharp
|
|
|
|
class StubFile extends File {
|
|
StubFile() { this.getAbsolutePath().matches("%resources/stubs/%") }
|
|
}
|
|
|
|
class SourceControlFlowElement extends ControlFlowElement {
|
|
SourceControlFlowElement() { not this.getLocation().getFile() instanceof StubFile }
|
|
}
|
|
|
|
class SourceControlFlowNode extends ControlFlow::Node {
|
|
SourceControlFlowNode() { not this.getLocation().getFile() instanceof StubFile }
|
|
}
|
|
|
|
class SourceBasicBlock extends ControlFlow::BasicBlock {
|
|
SourceBasicBlock() { not this.getLocation().getFile() instanceof StubFile }
|
|
}
|