JS: Model fs.promises

This commit is contained in:
Asger Feldthaus
2021-04-15 14:09:58 +01:00
parent 822d4525af
commit 109d1ad27f

View File

@@ -465,6 +465,9 @@ module NodeJSLib {
) and
t.start()
or
t.start() and
result = DataFlow::moduleMember("fs", "promises")
or
exists(DataFlow::TypeTracker t2, DataFlow::SourceNode pred | pred = fsModule(t2) |
result = pred.track(t2, t)
or