github / github/codeql

General issue (No source code was seen and extracted to C:\***\DB-codeql)

オープン
#11,476 コメント 18 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

**No source code was seen and extracted to C:\***\DB-codeql**

Hi all,

I am using codeql cli and trying to create a database of my` msvc CPP` project inside a docker container and getting the error `No source code was seen and extracted to C:\***\DB-codeql.`
The project is being compiled normally without codeql but with the codeql cli I am getting this error.
I am using this command to create a database `codeql database create --ram 4096 -J-Xmx1G -vvvv --language=cpp -c path-to-file -s path-to-source`

the code was being compiled previously using mingw but with msvc I am getting this issue.
the `sourceLocationPrefix` is also set to my project path and there is no much information available in `build-tracer.log` file as shown below

`
Initializing tracer.
Initialising tags...
CodeQL CLI version 2.11.3
Initializing tracer.
Initialising tags...
Allocated ID F7C238AA000000E0_0000000000000001 (parent )
==== Candidate to intercept: C:\codeql\tools\win64\runner.exe (700) ====
Executing the following tracer actions:
Tracer actions:
pre_invocations(0)
post_invocations(0)
trace_languages(1): [cpp]
Initializing tracer.
Initialising tags...
ID set to F7C238AA000000E0_0000000000000001 (parent root)
Allocated ID BB65D210000002BC_0000000000000001 (parent F7C238AA000000E0_0000000000000001)
==== Candidate to intercept: C:\Windows\System32\cmd.exe (1028) ====
Executing the following tracer actions:
Tracer actions:
pre_invocations(0)
post_invocations(0)
trace_languages(1): [cpp]
Initializing tracer.
Initialising tags...
ID set to BB65D210000002BC_0000000000000001 (parent F7C238AA000000E0_0000000000000001)
Allocated ID 96C4BE6E00000404_0000000000000001 (parent BB65D210000002BC_0000000000000001)
==== Candidate to intercept: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe (8) ====
Executing the following tracer actions:
Tracer actions:
pre_invocations(0)
post_invocations(0)
trace_languages(1): [cpp]
Initializing tracer.
Initialising tags...
ID set to 96C4BE6E00000404_0000000000000001 (parent BB65D210000002BC_0000000000000001)
`

looking for the suggestion
Thanks :)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。