Merge pull request #20460 from hvitved/rust/source-inline-flow-path-problem

This commit is contained in:
Tom Hvitved
2025-09-18 09:27:06 +02:00
committed by GitHub
2 changed files with 1788 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,7 @@
/**
* @kind path-problem
*/
import rust
import codeql.rust.dataflow.DataFlow
import codeql.rust.Concepts
@@ -25,3 +29,8 @@ module MyFlowConfig implements DataFlow::ConfigSig {
module MyFlowTest = TaintFlowTest<MyFlowConfig>;
import MyFlowTest
import PathGraph
from PathNode source, PathNode sink
where flowPath(source, sink)
select sink, source, sink, "$@", source, source.toString()