[csharp] How to add step from a field set in a constructor to a field access in another method ? #19794
Replies: 1 comment 3 replies
-
Hi As long as you also have the code Sink sink = new Sink(taintedData);
sink.Run(); in the database, then we should be able to detect the flow (ideally, we should also be able to detect it if not, but that is a current known limitation). You can try using partial flow, to debug where flow stops: https://codeql.github.com/docs/writing-codeql-queries/debugging-data-flow-queries-using-partial-flow/. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, the title might no be super clear, I have this Sink class:
Where
Process.Start(...)
will be defined inisSink
And here is the code calling it:
However my query doesn't show a path from
taintedData
toProcess.Start(Command)
. Quick eval seems good for myisSource
andisSink
methods, I tried to add anAdditionalTaintStep
but without success. How to follow this data ?Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions