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.
2 parents 893f4ab + 134cf4e commit 79fb9e8Copy full SHA for 79fb9e8
1 file changed
ruby/ql/lib/codeql/ruby/ApiGraphs.qll
@@ -576,7 +576,7 @@ module API {
576
use(pred, a) and
577
use(succ, b) and
578
resolveConstant(b.asExpr().getExpr()) = resolveConstantWriteAccess(c) and
579
- c.getSuperclassExpr() = a.asExpr().getExpr() and
+ pragma[only_bind_into](c).getSuperclassExpr() = a.asExpr().getExpr() and
580
lbl = Label::subclass()
581
)
582
or
0 commit comments