Java: update write-file sink kind to file-system-store

This commit is contained in:
Jami Cogswell
2023-05-30 13:03:51 -04:00
parent ac8d985a63
commit eb1a8e2189
9 changed files with 33 additions and 34 deletions

View File

@@ -40,7 +40,7 @@ class LocalFileOpenCall extends Storable {
/** Holds if `input` is written into `file`. */
private predicate filesystemInput(DataFlow::Node file, Argument input) {
exists(DataFlow::Node write | sinkNode(write, "write-file") |
exists(DataFlow::Node write | sinkNode(write, "file-content-store") |
input = write.asExpr() or
isVarargs(input, write)
) and