mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Python: Use API::CallNode
This commit is contained in:
@@ -37,7 +37,7 @@ DataFlow::Node getAutoEscapeParameter(DataFlow::CallCfgNode call) {
|
||||
result = call.getArgByName("autoescape")
|
||||
}
|
||||
|
||||
from DataFlow::CallCfgNode call
|
||||
from API::CallNode call
|
||||
where
|
||||
call = jinja2EnvironmentOrTemplate().getACall() and
|
||||
not exists(call.asCfgNode().(CallNode).getNode().getStarargs()) and
|
||||
|
||||
Reference in New Issue
Block a user