We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02772ed commit 7d24d96Copy full SHA for 7d24d96
cpp/ql/src/Critical/MissingCheckScanf.ql
@@ -66,16 +66,16 @@ class ScanfOutput extends Expr {
66
*/
67
Access getAnAccess() {
68
exists(Instruction dst |
69
- this.bigStep(instr) = dst and
+ this.bigStep() = dst and
70
dst.getAst() = result and
71
valueNumber(dst) = valNum
72
)
73
}
74
75
- private Instruction bigStep(Instruction i) {
76
- result = this.smallStep(i)
+ private Instruction bigStep() {
+ result = this.smallStep(instr)
77
or
78
- exists(Instruction j | j = this.bigStep(i) | result = this.smallStep(j))
+ exists(Instruction i | i = this.bigStep() | result = this.smallStep(i))
79
80
81
private Instruction smallStep(Instruction i) {
0 commit comments