Ruby: add getAValueReachingRhs

This commit is contained in:
Asger Feldthaus
2022-02-03 13:16:32 +01:00
parent 17dd5cd581
commit 040e56623c

View File

@@ -48,6 +48,11 @@ module API {
*/
DataFlow::Node getARhs() { Impl::def(this, result) }
/**
* Gets a data-flow node that may interprocedurally flow to the value escaping into this API component.
*/
DataFlow::Node getAValueReachingRhs() { result = Impl::trackDefNode(this.getARhs()) }
/**
* Gets a call to a method on the receiver represented by this API component.
*/