File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
cpp/ql/src/semmle/code/cpp/models/implementations Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ class StdBasicString extends TemplateClass {
1111 * The `std::string` functions `c_str` and `data`.
1212 */
1313class StdStringCStr extends TaintFunction {
14- StdStringCStr ( ) {
15- this .hasQualifiedName ( "std" , "basic_string" , [ "c_str" , "data" ] )
16- }
14+ StdStringCStr ( ) { this .hasQualifiedName ( "std" , "basic_string" , [ "c_str" , "data" ] ) }
1715
1816 override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
1917 // flow from string itself (qualifier) to return value
@@ -146,9 +144,7 @@ class StdStringSwap extends TaintFunction {
146144 * The `std::string` functions `at` and `operator[]`.
147145 */
148146class StdStringAt extends TaintFunction {
149- StdStringAt ( ) {
150- this .hasQualifiedName ( "std" , "basic_string" , [ "at" , "operator[]" ] )
151- }
147+ StdStringAt ( ) { this .hasQualifiedName ( "std" , "basic_string" , [ "at" , "operator[]" ] ) }
152148
153149 override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
154150 // flow from qualifier to referenced return value
You can’t perform that action at this time.
0 commit comments