mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
JS: Summarise store steps for type tracking
This commit is contained in:
@@ -156,6 +156,9 @@ private module Cached {
|
||||
exists(string prop |
|
||||
param.getAPropertyRead(prop).flowsTo(fun.getAReturn()) and
|
||||
summary = LoadStep(prop)
|
||||
or
|
||||
fun.getAReturn().getALocalSource().getAPropertySource(prop) = param and
|
||||
summary = StoreStep(prop)
|
||||
)
|
||||
) and
|
||||
if param = fun.getAParameter()
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
| summarize.js:30:14:30:26 | // track: obj | Failed to track obj here. |
|
||||
| summarize.js:33:14:33:26 | // track: obj | Failed to track obj here. |
|
||||
|
||||
Reference in New Issue
Block a user