mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Adjust a couple of query tests to work with latest points-to.
This commit is contained in:
@@ -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