mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update cpp/ql/src/semmle/code/cpp/models/implementations/StdPair.qll
Co-authored-by: Jonas Jensen <jbj@github.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import semmle.code.cpp.models.interfaces.Taint
|
||||
* Additional model for `std::pair` constructors.
|
||||
*/
|
||||
class StdPairConstructor extends Constructor, TaintFunction {
|
||||
StdPairConstructor() { this.getDeclaringType().hasQualifiedName("std", "pair") }
|
||||
StdPairConstructor() { this.hasQualifiedName("std", "pair", "pair") }
|
||||
|
||||
/**
|
||||
* Gets the index of a parameter to this function that is a reference to
|
||||
|
||||
Reference in New Issue
Block a user