File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
csharp/ql/src/semmle/code/csharp/dataflow/internal Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -220,14 +220,6 @@ module LocalFlow {
220220 }
221221}
222222
223- /**
224- * Holds if data flows from `nodeFrom` to `nodeTo` in exactly one local
225- * (intra-procedural) step.
226- */
227- predicate localFlowStepImpl ( Node nodeFrom , Node nodeTo ) {
228- simpleLocalFlowStep ( nodeFrom , nodeTo )
229- }
230-
231223/** A collection of cached types and predicates to be evaluated in the same stage. */
232224cached
233225private module Cached {
@@ -258,8 +250,6 @@ private module Cached {
258250 TMallocNode ( ControlFlow:: Nodes:: ElementNode cfn ) { cfn .getElement ( ) instanceof ObjectCreation }
259251
260252 /**
261- * INTERNAL: do not use.
262- *
263253 * This is the local flow predicate that's used as a building block in global
264254 * data flow. It may have less flow than the `localFlowStep` predicate.
265255 */
Original file line number Diff line number Diff line change @@ -147,7 +147,11 @@ ExprNode exprNode(DotNet::Expr e) { result.getExpr() = e }
147147 */
148148ParameterNode parameterNode ( DotNet:: Parameter p ) { result .getParameter ( ) = p }
149149
150- predicate localFlowStep = localFlowStepImpl / 2 ;
150+ /**
151+ * Holds if data flows from `nodeFrom` to `nodeTo` in exactly one local
152+ * (intra-procedural) step.
153+ */
154+ predicate localFlowStep ( Node nodeFrom , Node nodeTo ) { simpleLocalFlowStep ( nodeFrom , nodeTo ) }
151155
152156/**
153157 * Holds if data flows from `source` to `sink` in zero or more local
You can’t perform that action at this time.
0 commit comments