CodeQL library for Ruby
codeql/ruby-all 4.1.8 (changelog, source)
Search

Member predicate DataFlow::LocalSourceNode::getAnAttributeWriteValue

Gets a value assigned to name on this object, such as the x in obj.name = x.

Concretely, this gets the argument of any call to name= where this node flows to the receiver.

Node getAnAttributeWriteValue(string name)