mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Adjust a couple of query tests to work with latest points-to.
This commit is contained in:
@@ -1,2 +1 @@
|
||||
| expressions_test.py:51:4:51:11 | Compare | The result of this comparison with 'is' may differ between implementations of Python. |
|
||||
| expressions_test.py:56:4:56:16 | Compare | The result of this comparison with 'is' may differ between implementations of Python. |
|
||||
|
||||
@@ -5,5 +5,6 @@ import python
|
||||
import semmle.python.security.SensitiveData
|
||||
import semmle.python.security.Crypto
|
||||
|
||||
from TaintedNode n
|
||||
select n.getTrackedValue(), n.getLocation(), n.getNode().getNode(), n.getContext()
|
||||
from TaintedNode n, AstNode src
|
||||
where src = n.getNode().getNode() and src.getLocation().getFile().getName().matches("%test%")
|
||||
select n.getTrackedValue(), n.getLocation(), src, n.getContext()
|
||||
|
||||
Reference in New Issue
Block a user