github / github/codeql

Javascript: How can I filter some dataflow results?

オープン
#6,920 コメント 13 件 リアクション 0 件 担当者 0 名 GitHub で見る
JS question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

Example:
```
var a = request.body;
var obj = {
"body": a.a;
"headers": a.b
}
foo(obj)
```
while I query the above code, there are two flow path:
```
1. a -> obj.body -> foo
2. a -> obj.headers -> foo
```
And I would like to show result 1 only, and filter result 2.
How can I solve the problem? Thanks

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。