mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
InlineFlowTest: Allow for custom getArgString
This commit is contained in:
@@ -12,6 +12,7 @@ private import internal.InlineExpectationsTestImpl
|
||||
private module FlowTestImpl implements InputSig<RubyDataFlow> {
|
||||
import TestUtilities.InlineFlowTestUtil
|
||||
|
||||
bindingset[src, sink]
|
||||
string getArgString(DataFlow::Node src, DataFlow::Node sink) {
|
||||
(if exists(getSourceArgString(src)) then result = getSourceArgString(src) else result = "") and
|
||||
exists(sink)
|
||||
|
||||
Reference in New Issue
Block a user