Skip to content

Commit 5f72ce0

Browse files
committed
Add stub implementations of flowCheckNodeSpecific
1 parent e0f7437 commit 5f72ce0

File tree

8 files changed

+40
-0
lines changed

8 files changed

+40
-0
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,11 @@ class CastNode extends Node {
235235
CastNode() { none() } // stub implementation
236236
}
237237

238+
/**
239+
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
240+
*/
241+
predicate flowCheckNodeSpecific(Node n) { none() }
242+
238243
class DataFlowCallable = Function;
239244

240245
class DataFlowExpr = Expr;

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowPrivate.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,11 @@ class CastNode extends Node {
783783
CastNode() { none() } // stub implementation
784784
}
785785

786+
/**
787+
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
788+
*/
789+
predicate flowCheckNodeSpecific(Node n) { none() }
790+
786791
/**
787792
* A function that may contain code or a variable that may contain itself. When
788793
* flow crosses from one _enclosing callable_ to another, the interprocedural

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,6 +2147,11 @@ class CastNode extends Node {
21472147
}
21482148
}
21492149

2150+
/**
2151+
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
2152+
*/
2153+
predicate flowCheckNodeSpecific(Node n) { none() }
2154+
21502155
class DataFlowExpr = DotNet::Expr;
21512156

21522157
/** Holds if `e` is an expression that always has the same Boolean value `val`. */

go/ql/lib/semmle/go/dataflow/internal/DataFlowPrivate.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ class CastNode extends ExprNode {
228228
override ConversionExpr expr;
229229
}
230230

231+
/**
232+
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
233+
*/
234+
predicate flowCheckNodeSpecific(Node n) { none() }
235+
231236
class DataFlowExpr = Expr;
232237

233238
private newtype TDataFlowType =

java/ql/lib/semmle/code/java/dataflow/internal/DataFlowPrivate.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@ class CastNode extends ExprNode {
242242
CastNode() { this.getExpr() instanceof CastingExpr }
243243
}
244244

245+
/**
246+
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
247+
*/
248+
predicate flowCheckNodeSpecific(Node n) { none() }
249+
245250
private newtype TDataFlowCallable =
246251
TSrcCallable(Callable c) or
247252
TSummarizedCallable(SummarizedCallable c) or

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,11 @@ class CastNode extends Node {
497497
CastNode() { readStep(_, _, this) or storeStep(_, _, this) }
498498
}
499499

500+
/**
501+
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
502+
*/
503+
predicate flowCheckNodeSpecific(Node n) { none() }
504+
500505
/**
501506
* Holds if `t1` and `t2` are compatible, that is, whether data can flow from
502507
* a node of type `t1` to a node of type `t2`.

ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,11 @@ class CastNode extends Node {
12961296
}
12971297
}
12981298

1299+
/**
1300+
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
1301+
*/
1302+
predicate flowCheckNodeSpecific(Node n) { none() }
1303+
12991304
class DataFlowExpr = CfgNodes::ExprCfgNode;
13001305

13011306
int accessPathLimit() { result = 5 }

swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,11 @@ class CastNode extends Node {
849849
CastNode() { none() }
850850
}
851851

852+
/**
853+
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
854+
*/
855+
predicate flowCheckNodeSpecific(Node n) { none() }
856+
852857
class DataFlowExpr = Expr;
853858

854859
class DataFlowParameter = ParamDecl;

0 commit comments

Comments
 (0)