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 67572bb commit 134cf4eCopy full SHA for 134cf4e
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