JS: push negation

This commit is contained in:
Esben Sparre Andreasen
2018-11-06 08:34:43 +01:00
parent 470c241c82
commit d813a7cad2

View File

@@ -20,7 +20,7 @@ predicate unambiguousPropWrite(DataFlow::SourceNode base, string name, Assignmen
assign.getLhs().flow() = lhs and
base.getAPropertyWrite(name) = lhs and
not exists (DataFlow::SourceNode otherBase |
not otherBase = base and
otherBase != base and
lhs = otherBase.getAPropertyWrite(name)
)
)