github / github/codeql

Error downloading/installing codeql cpp-queries package

未關閉
#14,492 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
CodeQL
星號
10.1k
分支
2.1k
平均合併
2 天 15 小時
30 天內合併 PR
141

描述

I am trying to setup codeql for windows driver program on local machine,

Followed CodeQL readme for WHCP and Windows-Driver-Developer-Supplemental-Tools, ReadMe and cloned WHCP_22H2 branch. When tried to analyse the database I see below error.

`A fatal error occured: The QL Pack 'codeql/cpp-queries@latest' which is referenced from
C:\codeql-home\codeql\Windows-Driver-Developer-Supplemental-Tools-main\src\suites\windows-driver-mustfix.qls cannot be found.`

In order to resolve this I have cloned the Windows-Driver-Developer-Supplemental-Tools main branch and tried to manually download/install the codeql/cpp-queries package and faced the similar error.

````
C:\codeql-home\codeql>codeql pack install C:\codeql-home\codeql\Windows-Driver-Developer-Supplemental-Tools-main\src
Dependencies resolved. Installing packages...
Install location: C:\Users\shravan\.codeql\packages
A fatal error occured: Could not create access credentials for codeql/cpp-queries.
(eventual cause: SunCertPathBuilderException "unable to find valid certification path to requested target")

C:\codeql-home\codeql>codeql pack download codeql/cpp-queries
Dependencies resolved. Installing packages...
Package Install location: C:\Users\shravan\.codeql\packages
A fatal error occured: Could not create access credentials for codeql/cpp-queries.
(eventual cause: SunCertPathBuilderException "unable to find valid certification path to requested target")
````

Please help me resolve this issue.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。