InlineFlowTest: Allow for custom getArgString

This commit is contained in:
Tom Hvitved
2023-12-13 13:58:44 +01:00
parent 27be5ba14b
commit 28a2d05cf8
2 changed files with 25 additions and 3 deletions

View File

@@ -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)