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.
isLocalSourceNode
SynthReturnNode
1 parent 89c4b6c commit 6cacf7bCopy full SHA for 6cacf7b
ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll
@@ -302,6 +302,11 @@ private module Cached {
302
or
303
n instanceof PostUpdateNodes::ExprPostUpdateNode
304
305
+ // TODO: Explain why SynthReturnNode is needed!
306
+ // if we don't include this, we are not able to find this call:
307
+ // https://github.com/github/codeql/blob/976daddd36a63bf46836d141d04172e90bb4b33c/ruby/ql/test/library-tests/frameworks/http_clients/NetHttp.rb#L24
308
+ n instanceof SynthReturnNode
309
+ or
310
// Expressions that can't be reached from another entry definition or expression.
311
n instanceof ExprNode and
312
not localFlowStepTypeTracker+(any(Node n0 |
0 commit comments