DataFlow::PathGraph Module not Found in codeql
- Dominant language
- CodeQL
- Stars
- 10.1k
- Forks
- 2.1k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 141
Description
**DataFlow::PathGraph Module, not Found**
When using codeql workspace and trying to use the following code to debug sink source
```
from MyTaintTrackingConfig cfg, ConstraintValidatorisValidMethod im, DataFlow::PartialPathNode source, DataFlow::PartialPathNode sink
where
cfg.hasPartialFlow(source, sink, _) and
source.getNode().asParameter() = im.getParameter(0)
select sink, source, sink, "Partial flow from unsanitized user data"
```
I receive error that DataFlow::PathGraph Module, not Found
Contributor guide
Research direction
Start by reproducing the query in a CodeQL workspace, focusing on the DataFlow::PathGraph module reference and the shown partial-flow query. Check how the workspace resolves DataFlow modules and determine what is needed for the query to run without the module-not-found error.
Written by the indexing model from the issue text.
Assessment
- Domain
- security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100