Skip to content

Commit 73bfd81

Browse files
committed
C++: Rename classes.
1 parent 1bcf187 commit 73bfd81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/StdString.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)