Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
std::set::emplace
1 parent 40cd96e commit eb9cea4Copy full SHA for eb9cea4
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/StdSet.qll
@@ -61,7 +61,7 @@ class StdSetEmplace extends TaintFunction {
61
// flow from any parameter to qualifier and return value
62
// (here we assume taint flow from any constructor parameter to the constructed object)
63
// (where the return value is a pair, this should really flow just to the first part of it)
64
- input.isParameter([0 .. getNumberOfParameters() - 1]) and
+ input.isParameterDeref([0 .. getNumberOfParameters() - 1]) and
65
(
66
output.isQualifierObject() or
67
output.isReturnValue()
0 commit comments