github / github/codeql

DataFlow::PathGraph Module not Found in codeql

Đang mở
#13,540 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

**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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
security
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.