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 6daa1c4 commit 1257617Copy full SHA for 1257617
ruby/ql/lib/codeql/ruby/ApiGraphs.qll
@@ -522,7 +522,8 @@ module API {
522
or
523
exists(TypeTrackerSpecific::TypeTrackerContent c |
524
TypeTrackerSpecific::basicLoadStep(node, ref, c) and
525
- lbl = Label::content(c.getAStoreContent())
+ lbl = Label::content(c.getAStoreContent()) and
526
+ not c.isSingleton(any(DataFlow::Content::AttributeNameContent k))
527
)
528
// note: method calls are not handled here as there is no DataFlow::Node for the intermediate MkMethodAccessNode API node
529
}
0 commit comments