mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
add dataflow support
This commit is contained in:
@@ -1580,6 +1580,8 @@ module DataFlow {
|
||||
or
|
||||
predExpr = succExpr.(TypeAssertion).getExpression()
|
||||
or
|
||||
predExpr = succExpr.(SatisfiesExpr).getExpression()
|
||||
or
|
||||
predExpr = succExpr.(NonNullAssertion).getExpression()
|
||||
or
|
||||
predExpr = succExpr.(ExpressionWithTypeArguments).getExpression()
|
||||
|
||||
@@ -998,6 +998,7 @@ flowStep
|
||||
| tst2.ts:13:26:13:29 | List | tst2.ts:13:26:13:37 | List<string> |
|
||||
| tst2.ts:13:39:13:38 | args | tst2.ts:13:39:13:38 | args |
|
||||
| tst2.ts:13:39:13:38 | args | tst2.ts:13:39:13:38 | args |
|
||||
| tst2.ts:15:11:15:13 | A.x | tst2.ts:15:11:15:30 | A.x satisfies number |
|
||||
| tst.js:1:1:1:1 | x | tst.js:3:5:3:5 | x |
|
||||
| tst.js:1:10:1:11 | fs | tst.js:1:10:1:11 | fs |
|
||||
| tst.js:1:10:1:11 | fs | tst.js:7:1:7:2 | fs |
|
||||
@@ -1184,6 +1185,7 @@ getImmediatePredecessor
|
||||
| tst2.ts:13:26:13:29 | List | tst2.ts:13:26:13:37 | List<string> |
|
||||
| tst2.ts:13:39:13:38 | args | tst2.ts:13:39:13:38 | args |
|
||||
| tst2.ts:13:39:13:38 | args | tst2.ts:13:39:13:38 | args |
|
||||
| tst2.ts:15:11:15:13 | A.x | tst2.ts:15:11:15:30 | A.x satisfies number |
|
||||
| tst.js:1:10:1:11 | fs | tst.js:1:10:1:11 | fs |
|
||||
| tst.js:1:10:1:11 | fs | tst.js:7:1:7:2 | fs |
|
||||
| tst.js:1:10:1:11 | fs | tst.js:22:24:22:25 | fs |
|
||||
|
||||
Reference in New Issue
Block a user