facebook / facebook/infer

failed to work with ninja

Đang mở
#1,028 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
OCaml
Star
15.7k
Fork
2.1k
Merge trung bình
19 giờ 36 phút
Pull request đã merge (30 ngày)
13

Mô tả

1. generate compilation database file (cmd.json) from ninja's build.ninja
2. infer --compilation-database cmd.json

got a lot of errors, many caused by: No such file or directory

it looks like infer can't handle non-compile command, such as:
{
"directory": "/data/trunk",
"command": "PYTHONPATH=/data/trunk/thirdparty/aa.zip:$PYTHONPATH python -m toolchain scm build64_release/scm.cc 190634 http://abc.com/trunk release \"GCC 5.5.0\"",
"file": ""
}

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.