Skip to content

Commit 638fcab

Browse files
committed
Python: Allow path from non-sourceNodes
This is against the philosophy, but we have still restricted attributes. We use this PR to test performance.
1 parent e64af59 commit 638fcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/dataflow/new/TypeTracker.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module StepSummary {
5151
* heap and/or inter-procedural step from `nodeFrom` to `nodeTo`.
5252
*/
5353
cached
54-
predicate step(LocalSourceNode nodeFrom, Node nodeTo, StepSummary summary) {
54+
predicate step(Node nodeFrom, Node nodeTo, StepSummary summary) {
5555
exists(Node mid | typePreservingStep*(nodeFrom, mid) and smallstep(mid, nodeTo, summary))
5656
}
5757

0 commit comments

Comments
 (0)