Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45bf90 commit 5afebc8Copy full SHA for 5afebc8
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/Gets.qll
@@ -7,7 +7,8 @@ import semmle.code.cpp.models.interfaces.SideEffect
7
/**
8
* The standard functions `gets` and `fgets`.
9
*/
10
-class GetsFunction extends DataFlowFunction, TaintFunction, ArrayFunction, AliasFunction, SideEffectFunction {
+class GetsFunction extends DataFlowFunction, TaintFunction, ArrayFunction, AliasFunction,
11
+ SideEffectFunction {
12
GetsFunction() {
13
exists(string name | name = getName() |
14
name = "gets" or // gets(str)
0 commit comments