CPP: Further speedup.

This commit is contained in:
Geoffrey White
2019-11-01 18:16:12 +00:00
parent 08293d0009
commit c2812197a9

View File

@@ -19,7 +19,12 @@ class ExistsAnyFlowConfig extends DataFlow::Configuration {
)
}
override predicate isSink(DataFlow::Node sink) { any() }
override predicate isSink(DataFlow::Node sink) {
exists(BoostorgAsio::SslSetOptionsFunction f, FunctionCall fcSetOptions |
f.getACallToThisFunction() = fcSetOptions and
fcSetOptions.getQualifier() = sink.asExpr()
)
}
}
bindingset[flag]