C++: Remove StdSetBeginEnd as we now have a general model BeginOrEndFunction in main.

This commit is contained in:
Geoffrey White
2020-10-02 16:23:48 +01:00
parent 88a93964a7
commit d4a1acedde

View File

@@ -49,23 +49,6 @@ class StdSetInsert extends TaintFunction {
}
}
/**
* The standard set `begin` and `end` functions and their
* variants.
*/
class StdSetBeginEnd extends TaintFunction {
StdSetBeginEnd() {
this.hasQualifiedName("std", ["set", "unordered_set"], ["begin", "end", "cbegin", "cend"])
or
this.hasQualifiedName("std", "set", ["rbegin", "crbegin", "rend", "crend"])
}
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
input.isQualifierObject() and
output.isReturnValue()
}
}
/**
* The standard set `swap` functions.
*/