C++: Add a model for curl as well.

This commit is contained in:
Geoffrey White
2021-11-09 19:32:43 +00:00
parent 6388ac5f1d
commit ef21d1b512

View File

@@ -60,6 +60,9 @@ class HttpStringToUrlOpenConfig extends TaintTracking::Configuration {
fc.getTarget().getName() = ["send", "URLDownloadToFile"] and
sink.asExpr() = fc.getArgument(1)
or
fc.getTarget().getName() = "curl_easy_setopt" and
sink.asExpr() = fc.getArgument(2)
or
fc.getTarget().getName() = "ShellExecute" and
sink.asExpr() = fc.getArgument(3)
)