Update python/ql/src/experimental/dataflow/internal/DataFlowPrivate.qll

Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
yoff
2020-08-19 08:02:53 +02:00
committed by GitHub
parent 8fbb447f4c
commit 06bd436aea

View File

@@ -297,7 +297,7 @@ predicate readStep(Node nodeFrom, Content c, Node nodeTo) {
// `s.pop()`
// nodeFrom is `s`, cfg node
// nodeTo is `s.pop()`, cfg node
// c denotes list or set
// c denotes element of list or set
exists(CallNode call, AttrNode a |
call.getFunction() = a and
a.getName() = "pop" and // TODO: Should be made more robust, like Value::named("set.pop").getACall()