File tree Expand file tree Collapse file tree
cpp/ql/src/semmle/code/cpp/models/implementations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import semmle.code.cpp.models.interfaces.Taint
33/**
44 * The `std::basic_string` constructor(s).
55 */
6- class StringConstructor extends TaintFunction {
7- StringConstructor ( ) { this .hasQualifiedName ( "std" , "basic_string" , "basic_string" ) }
6+ class StdStringConstructor extends TaintFunction {
7+ StdStringConstructor ( ) { this .hasQualifiedName ( "std" , "basic_string" , "basic_string" ) }
88
99 override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
1010 // flow from any constructor argument to return value
@@ -16,8 +16,8 @@ class StringConstructor extends TaintFunction {
1616/**
1717 * The standard function `std::string.c_str`.
1818 */
19- class StringCStr extends TaintFunction {
20- StringCStr ( ) { this .hasQualifiedName ( "std" , "basic_string" , "c_str" ) }
19+ class StdStringCStr extends TaintFunction {
20+ StdStringCStr ( ) { this .hasQualifiedName ( "std" , "basic_string" , "c_str" ) }
2121
2222 override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
2323 // flow from string itself (qualifier) to return value
You can’t perform that action at this time.
0 commit comments