github / github/codeql

[Rust] Including dependencies in the analysis

Đang mở
#20,534 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
question Rust
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ả

Hi, is there any way to include cargo dependencies within the generated dbs? Right now im generating it like this

```bash
codeql database create rust-db \
--language=rust \
--source-root . \
--command "cargo build --all-targets --all-features" \
--extractor-option rust.cargo_all_targets=true \
--extractor-option rust.extract_dependencies_as_source=true \
--overwrite
```

But my queries still dont seem to go down into my dependecies

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

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

Đánh giá

Issue này chưa được đánh giá.

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.