Skip to content

Commit 0070662

Browse files
committed
Ruby: Inline getAValueReachableFromSource
1 parent 95a9faf commit 0070662

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ruby/ql/lib/codeql/ruby/ApiGraphs.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ module API {
9797
* This is similar to `asSource()` but additionally includes nodes that are transitively reachable by data flow.
9898
* See `asSource()` for examples.
9999
*/
100+
pragma[inline]
100101
DataFlow::Node getAValueReachableFromSource() {
101102
exists(DataFlow::LocalSourceNode src | Impl::use(this, src) |
102103
Impl::trackUseNode(src).flowsTo(result)

0 commit comments

Comments
 (0)