CodeQL library for Python
codeql/python-all 2.2.0 (changelog, source)
Search

Predicate MakeImplCommon::Cached::store

Holds if data can flow from node1 to node2 via a direct assignment to c.

This includes reverse steps through reads when the result of the read has been stored into, in order to handle cases like x.f1.f2 = y.

Import path

import codeql.dataflow.internal.DataFlowImplCommon
predicate store(Node node1, Content c, Node node2, DataFlowType contentType, DataFlowType containerType)