File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
python/ql/src/semmle/python/dataflow/new/internal Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ class Node extends TNode {
141
141
LocalSourceNode getALocalSource ( ) { result .flowsTo ( this ) }
142
142
143
143
/**
144
- * Gets a local source node from which data may flow to this node in zero or more local steps.
144
+ * Gets a local source node from which data may flow to this node in zero or more local taint-flow steps.
145
145
*/
146
146
LocalSourceNode getALocalTaintSource ( ) { result .taintFlowsTo ( this ) }
147
147
}
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ private module Cached {
71
71
*/
72
72
cached
73
73
predicate hasLocalSource ( Node sink , Node source ) {
74
- // Declaring `source` to be a `SourceNode ` currently causes a redundant check in the
74
+ // Declaring `source` to be a `LocalSourceNode ` currently causes a redundant check in the
75
75
// recursive case, so instead we check it explicitly here.
76
76
source = sink and
77
77
source instanceof LocalSourceNode
@@ -89,7 +89,7 @@ private module Cached {
89
89
*/
90
90
cached
91
91
predicate hasLocalTaintSource ( Node sink , Node source ) {
92
- // Declaring `source` to be a `SourceNode ` currently causes a redundant check in the
92
+ // Declaring `source` to be a `LocalSourceNode ` currently causes a redundant check in the
93
93
// recursive case, so instead we check it explicitly here.
94
94
source = sink and
95
95
source instanceof LocalSourceNode
You can’t perform that action at this time.
0 commit comments