Python: Make implicit this receivers explicit

This commit is contained in:
Kasper Svendsen
2023-05-03 12:16:21 +02:00
parent 733a00039e
commit 3eb5a95ee3
5 changed files with 12 additions and 12 deletions

View File

@@ -73,11 +73,11 @@ class UninitializedConfig extends TaintTracking::Configuration {
override predicate isBarrier(DataFlow::Node node, TaintKind kind) {
kind instanceof Uninitialized and
(
definition(node.asVariable())
this.definition(node.asVariable())
or
use(node.asVariable())
this.use(node.asVariable())
or
sanitizingNode(node.asCfgNode())
this.sanitizingNode(node.asCfgNode())
)
}