File tree 2 files changed +5
-5
lines changed
lib/semmle/javascript/frameworks
test/library-tests/frameworks/AsyncPackage
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ module AsyncPackage {
142
142
override predicate step ( DataFlow:: Node pred , DataFlow:: Node succ ) {
143
143
exists ( DataFlow:: FunctionNode iteratee , IterationCall call |
144
144
iteratee = call .getIteratorCallback ( ) and // Require a closure to avoid spurious call/return mismatch.
145
- pred = call .getCollection ( ) and
145
+ pred = call .getCollection ( ) and // TODO: needs a flow summary to ensure ArrayElement content is unfolded
146
146
succ = iteratee .getParameter ( 0 )
147
147
)
148
148
}
Original file line number Diff line number Diff line change 1
1
legacyDataFlowDifference
2
+ | each.js:11:9:11:16 | source() | each.js:13:12:13:15 | item | only flow with OLD data flow library |
3
+ | map.js:10:13:10:20 | source() | map.js:12:14:12:17 | item | only flow with OLD data flow library |
4
+ | map.js:26:13:26:20 | source() | map.js:28:27:28:32 | result | only flow with OLD data flow library |
5
+ | sortBy.js:10:22:10:29 | source() | sortBy.js:12:27:12:32 | result | only flow with OLD data flow library |
2
6
#select
3
- | each.js:11:9:11:16 | source() | each.js:13:12:13:15 | item |
4
- | map.js:10:13:10:20 | source() | map.js:12:14:12:17 | item |
5
7
| map.js:20:19:20:26 | source() | map.js:23:27:23:32 | result |
6
- | map.js:26:13:26:20 | source() | map.js:28:27:28:32 | result |
7
- | sortBy.js:10:22:10:29 | source() | sortBy.js:12:27:12:32 | result |
8
8
| waterfall.js:8:30:8:37 | source() | waterfall.js:11:12:11:16 | taint |
9
9
| waterfall.js:8:30:8:37 | source() | waterfall.js:20:10:20:14 | taint |
10
10
| waterfall.js:28:18:28:25 | source() | waterfall.js:39:10:39:12 | err |
You can’t perform that action at this time.
0 commit comments