mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Python: add postupdate nodes for kwargs
drops remaining reverse read failures on saltstack.
This commit is contained in:
@@ -77,7 +77,9 @@ class ReadPreUpdateNode extends NeedsSyntheticPostUpdateNode, CfgNode {
|
||||
a.getCtx() instanceof Load
|
||||
)
|
||||
or
|
||||
exists(SubscriptNode s | node = s.getObject())
|
||||
node = any(SubscriptNode s).getObject()
|
||||
or
|
||||
node.getNode() = any(Call call).getKwargs()
|
||||
}
|
||||
|
||||
override string label() { result = "read" }
|
||||
|
||||
Reference in New Issue
Block a user