We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cd84c8 commit 3ad83ccCopy full SHA for 3ad83cc
2 files changed
javascript/ql/lib/semmle/javascript/dataflow/internal/StepSummary.qll
@@ -156,6 +156,9 @@ private module Cached {
156
exists(string prop |
157
param.getAPropertyRead(prop).flowsTo(fun.getAReturn()) and
158
summary = LoadStep(prop)
159
+ or
160
+ fun.getAReturn().getALocalSource().getAPropertySource(prop) = param and
161
+ summary = StoreStep(prop)
162
)
163
) and
164
if param = fun.getAParameter()
javascript/ql/test/library-tests/TypeTracking/TypeTracking.expected
@@ -1,2 +1 @@
1
-| summarize.js:30:14:30:26 | // track: obj | Failed to track obj here. |
2
| summarize.js:33:14:33:26 | // track: obj | Failed to track obj here. |
0 commit comments