mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Allow MaD barriers relating to ExternalLocationSink
This commit is contained in:
@@ -126,3 +126,11 @@ class LocalFileOutputSink extends ExternalLocationSink {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A sanitizer for writing data to locations that are external to the
|
||||
* application, defined through Models as Data.
|
||||
*/
|
||||
class ExternalLocationSanitizer extends DataFlow::Node {
|
||||
ExternalLocationSanitizer() { barrierNode(this, "file-content-store") }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user