diff --git a/unified/ql/lib/ext/legacy-swift.model.json b/unified/ql/lib/ext/legacy-swift.model.json index 284c3af43d30..152c9ef87b41 100644 --- a/unified/ql/lib/ext/legacy-swift.model.json +++ b/unified/ql/lib/ext/legacy-swift.model.json @@ -197,9 +197,7 @@ ["", "Process", true, "executableURL", "", "", "PostUpdate", "command-injection", "manual"], ["", "Process", true, "launchPath", "", "", "PostUpdate", "command-injection", "manual"], ["", "Process", true, "launchedProcess(launchPath:arguments:)", "", "", "Argument[launchPath:,arguments:]", "command-injection", "manual"], - // Calls may omit the defaulted terminationHandler argument. - ["", "Process", true, "run(_:arguments:)", "", "", "Argument[0,arguments:]", "command-injection", "manual"], - ["", "Process", true, "run(_:arguments:terminationHandler:)", "", "", "Argument[0,arguments:]", "command-injection", "manual"], + ["", "Process", true, "run(_:arguments:terminationHandler?:)", "", "", "Argument[0,arguments:]", "command-injection", "manual"], ["", "Process", true, "standardError", "", "", "PostUpdate", "command-injection", "manual"], ["", "Process", true, "standardInput", "", "", "PostUpdate", "command-injection", "manual"], ["", "Process", true, "standardOutput", "", "", "PostUpdate", "command-injection", "manual"], diff --git a/unified/ql/lib/ext/nspredicate.model.json b/unified/ql/lib/ext/nspredicate.model.json index 1a334713d62c..36c528a1b76a 100644 --- a/unified/ql/lib/ext/nspredicate.model.json +++ b/unified/ql/lib/ext/nspredicate.model.json @@ -7,8 +7,7 @@ }, "data": [ // namespace, type, subtypes, name, signature, ext, output, kind, provenance - ["", "NSPredicate", true, "init(format:)", "", "", "Argument[format:]", "predicate-injection", "manual"], - ["", "NSPredicate", true, "init(format:_:)", "", "", "Argument[format:]", "predicate-injection", "manual"], + ["", "NSPredicate", true, "init(format:_?:)", "", "", "Argument[format:]", "predicate-injection", "manual"], ["", "NSPredicate", true, "init(format:arguments:)", "", "", "Argument[format:]", "predicate-injection", "manual"], ["", "NSPredicate", true, "init(format:argumentArray:)", "", "", "Argument[format:]", "predicate-injection", "manual"], ["", "NSPredicate", true, "init(fromMetadataQueryString:)", "", "", "Argument[fromMetadataQueryString:]", "predicate-injection", "manual"]