Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JS: Improve handling of spread arguments and rest parameters [shared data flow branch] #17213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Sep 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4cdaccd
JS: Add InlineFlowTest
asgerf Aug 7, 2024
5d77c33
Test case for spread and rest args/params
asgerf Aug 8, 2024
6c7d745
JS: Add nodes for static/dynamic argument/parameter arrays
asgerf Aug 9, 2024
a72f795
JS: Add corresponding argument positions
asgerf Aug 9, 2024
623dbda
Do not pass regular positional args into the rest parameter
asgerf Aug 12, 2024
fa7ad03
JS: Add store/load steps for the new argument arrays
asgerf Aug 9, 2024
ed33a6e
JS: Add explicit model of .join()
asgerf Aug 12, 2024
bbb1c8c
Remove old arguments-array position
asgerf Aug 12, 2024
60c3d07
Update DataFlowImplConsistency.qll
asgerf Aug 12, 2024
c04f0be
Update DataFlowConsistency.expected
asgerf Aug 12, 2024
5c7e623
JS: Add some tests for missing handling of dynamic args in flow summa…
asgerf Aug 12, 2024
53a2a66
Add new nodes to early stage
asgerf Aug 12, 2024
acdc896
JS: Support for dynamic args to flow summaries
asgerf Aug 12, 2024
6a08313
JS: Hide some nodes
asgerf Aug 12, 2024
079a622
JS: Add tests showing missing taint flow
asgerf Aug 14, 2024
895cb87
JS: Add taint into dynamic argument array
asgerf Aug 14, 2024
5084d02
Update tests.expected
asgerf Aug 14, 2024
ac1dd18
JS: Remove taint step from array element to whole array
asgerf Aug 14, 2024
34e6864
JS: Note issue with .apply() calls
asgerf Aug 14, 2024
4389b5c
JS: Fix issue for .apply() calls
asgerf Aug 14, 2024
4e7bd9d
JS: Update Arrays test now that array elements do not taint the whole…
asgerf Aug 19, 2024
df42e7c
JS: Add test showing lack of implicit reads for ArrayElement
asgerf Aug 19, 2024
371f7ef
JS: Add implicit taint read of array elements
asgerf Aug 19, 2024
aa8bd33
JS: Add a few more tests
asgerf Aug 22, 2024
3e196f8
JS: Update Promises/flow2 test
asgerf Aug 23, 2024
2e2181b
JS: Update test output that only affects nodes/edges/subpaths
asgerf Aug 27, 2024
837a8be
JS: Update test output and add related TODO in 'markdown-table' model
asgerf Aug 27, 2024
a2d53c2
JS: Update test output and add related TODO in model of 'async'
asgerf Aug 26, 2024
cb5dbb9
JS: Update test to reflect implicit read flow has been fixed
asgerf Aug 27, 2024
f65879e
JS: Update a test that no longer fails
asgerf Aug 27, 2024
65a36b0
JS: Add regression test for argument position confusion
asgerf Aug 29, 2024
4568967
JS: Do not use legacy taint steps in TaintedUrlSuffix
asgerf Aug 29, 2024
92bb4b3
JS: Address some comments from hvitved
asgerf Sep 5, 2024
379c7ef
JS: Add test to show lack of unknown array element being propagated
asgerf Sep 5, 2024
a9a8351
JS: Fix one case of missing handling of unknown array index
asgerf Sep 5, 2024
1da68aa
JS: Benign test output change
asgerf Sep 5, 2024
fb9732a
JS: Add another test and TODO about an issue with constant array indices
asgerf Sep 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update DataFlowConsistency.expected
  • Loading branch information
asgerf committed Aug 27, 2024
commit c04f0beb8a41cce5bb89eb1a8d453043075e8658
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ postHasUniquePre
uniquePostUpdate
postIsInSameCallable
reverseRead
| tst.js:109:11:113:3 | 'arguments' object of anonymous function | Origin of readStep is missing a PostUpdateNode. |
| tst.js:109:11:113:3 | [dynamic parameter array] | Origin of readStep is missing a PostUpdateNode. |
| tst.js:267:28:267:31 | map3 | Origin of readStep is missing a PostUpdateNode. |
argHasPostUpdate
| tst.js:219:18:219:27 | [source()] | ArgumentNode is missing PostUpdateNode. |
postWithInFlow
| file://:0:0:0:0 | [summary] to write: Argument[1] in Array method with flow into callback | PostUpdateNode should not be the target of local flow. |
| file://:0:0:0:0 | [summary] to write: Argument[1] in Array#filter | PostUpdateNode should not be the target of local flow. |
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.