There was an error while loading. Please reload this page.
1 parent b16b95e commit 3a3586fCopy full SHA for 3a3586f
1 file changed
ql/src/codeql_ruby/typetracking/TypeTrackerSpecific.qll
@@ -72,7 +72,7 @@ predicate returnStep(DataFlowPrivate::ReturnNode nodeFrom, Node nodeTo) {
72
*/
73
predicate basicStoreStep(Node nodeFrom, LocalSourceNode nodeTo, string content) {
74
// TODO: support SetterMethodCall inside TuplePattern
75
- exists(ExprNodes::AssignmentCfgNode assignment, ExprNodes::CallCfgNode call |
+ exists(ExprNodes::AssignmentCfgNode assignment, ExprNodes::MethodCallCfgNode call |
76
assignment.getLhs() = call and
77
content = getSetterCallAttributeName(call.getExpr()) and
78
nodeTo.(DataFlowPublic::ExprNode).getExprNode() = call.getReceiver() and
0 commit comments