mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Python: Update python/ql/src/semmle/python/dataflow/new/internal/DataFlowPrivate.qll
Co-authored-by: yoff <lerchedahl@gmail.com>
This commit is contained in:
@@ -215,9 +215,9 @@ private predicate localEssaStep(EssaNode nodeFrom, EssaNode nodeTo) {
|
|||||||
* Holds if `result` is either `node`, or the post-update node for `node`.
|
* Holds if `result` is either `node`, or the post-update node for `node`.
|
||||||
*/
|
*/
|
||||||
private Node update(Node node) {
|
private Node update(Node node) {
|
||||||
node = result.(PostUpdateNode).getPreUpdateNode()
|
|
||||||
or
|
|
||||||
result = node
|
result = node
|
||||||
|
or
|
||||||
|
result.(PostUpdateNode).getPreUpdateNode() = node
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Make modules for these headings
|
// TODO: Make modules for these headings
|
||||||
|
|||||||
Reference in New Issue
Block a user