MethodCallInsecureFileCreation isSource

This commit is contained in:
Josh Brown
2023-12-28 10:08:50 -08:00
parent 0f48db2694
commit 2f163b070a

View File

@@ -212,6 +212,9 @@ abstract class MethodCallInsecureFileCreation extends MethodCall {
* Gets the dataflow node representing the file system entity created.
*/
DataFlow::Node getNode() { result.asExpr() = this }
/** Holds if this node is a source. */
predicate isSource() { any() }
}
/** DEPRECATED: Alias for `MethodCallInsecureFileCreation`. */