File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/ql/src/semmle/code/cpp/models/implementations Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import semmle.code.cpp.models.interfaces.Taint
3
3
/**
4
4
* The `std::basic_string` constructor(s).
5
5
*/
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" ) }
8
8
9
9
override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
10
10
// flow from any constructor argument to return value
@@ -16,8 +16,8 @@ class StringConstructor extends TaintFunction {
16
16
/**
17
17
* The standard function `std::string.c_str`.
18
18
*/
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" ) }
21
21
22
22
override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
23
23
// flow from string itself (qualifier) to return value
You can’t perform that action at this time.
0 commit comments