github / codeql-cli-binaries

Binaries for the CodeQL CLI
Other
741 stars 105 forks source link

vs2008 cpp project errror #135

Closed jmpoep closed 1 year ago

jmpoep commented 2 years ago

[2022-09-27 14:04:36] This is codeql database create --language=cpp --source-root=C:\codeql-home\project\test --command=C:\codeql-home\22.bat C:\codeql-home\databases\test -j 0 --overwrite [2022-09-27 14:04:36] Log file was started late. [2022-09-27 14:04:36] [PROGRESS] database create> Initializing database at C:\codeql-home\databases\test. [2022-09-27 14:04:36] Running plumbing command: codeql database init --overwrite --language=cpp --source-root=C:\codeql-home\project\test --allow-missing-source-root=false --allow-already-existing -- C:\codeql-home\databases\test [2022-09-27 14:04:36] [PROGRESS] database init> Counting lines of code in C:\codeql-home\project\test [2022-09-27 14:04:36] [PROGRESS] database init> Resolving extractor cpp. [2022-09-27 14:04:36] Calling plumbing command: codeql resolve languages --format=json [2022-09-27 14:04:36] [DETAILS] resolve languages> Scanning for codeql-extractor.yml from C:\codeql-home\codeql.codeqlmanifest.json [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\cpp\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\csharp\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\csv\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\go\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\html\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\java\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\javascript\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\properties\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\python\codeql-extractor.yml. [2022-09-27 14:04:36] [DETAILS] resolve languages> Parsing C:\codeql-home\codeql\xml\codeql-extractor.yml. [2022-09-27 14:04:36] Plumbing command codeql resolve languages completed: { "cpp" : [ "C:\codeql-home\codeql\cpp" ], "csharp" : [ "C:\codeql-home\codeql\csharp" ], "csv" : [ "C:\codeql-home\codeql\csv" ], "go" : [ "C:\codeql-home\codeql\go" ], "html" : [ "C:\codeql-home\codeql\html" ], "java" : [ "C:\codeql-home\codeql\java" ], "javascript" : [ "C:\codeql-home\codeql\javascript" ], "properties" : [ "C:\codeql-home\codeql\properties" ], "python" : [ "C:\codeql-home\codeql\python" ], "xml" : [ "C:\codeql-home\codeql\xml" ] } [2022-09-27 14:04:36] [DETAILS] database init> Found candidate extractor root for cpp: C:\codeql-home\codeql\cpp. [2022-09-27 14:04:36] [PROGRESS] database init> Successfully loaded extractor C/C++ (cpp) from C:\codeql-home\codeql\cpp. [2022-09-27 14:04:36] [PROGRESS] database init> Created skeleton CodeQL database at C:\codeql-home\databases\test. This in-progress database is ready to be populated by an extractor. [2022-09-27 14:04:36] Plumbing command codeql database init completed. [2022-09-27 14:04:36] [PROGRESS] database create> Running build command: [C:\codeql-home\22.bat] [2022-09-27 14:04:36] Running plumbing command: codeql database trace-command --threads=0 --working-dir=C:\codeql-home\project\test --index-traceless-dbs --no-db-cluster -- C:\codeql-home\databases\test C:\codeql-home\22.bat [2022-09-27 14:04:36] Setting up tracing from specification at C:\codeql-home\codeql\cpp\tools\win64\compiler-tracing.spec. [2022-09-27 14:04:36] [PROGRESS] database trace-command> Running command in C:\codeql-home\project\test: [C:\codeql-home\22.bat] [2022-09-27 14:04:37] [build-stdout] Microsoft (R) Visual Studio 9.0.30729.1 版。 [2022-09-27 14:04:37] [build-stdout] 版权所有(C) Microsoft Corp。保留所有权利。 [2022-09-27 14:04:37] [build-stdout] 1>------ 已启动全部重新生成: 项目: test, 配置: Release Win32 ------ [2022-09-27 14:04:37] [build-stdout] 1>正在删除项目“test”(配置“Release|Win32”)的中间文件和输出文件 [2022-09-27 14:04:37] [build-stdout] 1>正在编译... [2022-09-27 14:04:37] [build-stdout] 1>stdafx.cpp [2022-09-27 14:04:37] [build-stdout] 1>用于 80x86 的 Microsoft (R) 32 位 C/C++ 优化编译器 15.00.30729.01 版 [2022-09-27 14:04:37] [build-stdout] 1>版权所有(C) Microsoft Corporation。保留所有权利。 [2022-09-27 14:04:37] [build-stdout] 1>cl: 命令行 warning D9002 :忽略未知选项“--version” [2022-09-27 14:04:37] [build-stdout] 1>cl: 命令行 error D8003 :缺少源文件名 [2022-09-27 14:04:37] [build-stdout] 1>用于 80x86 的 Microsoft (R) 32 位 C/C++ 优化编译器 15.00.30729.01 版 [2022-09-27 14:04:37] [build-stdout] 1>版权所有(C) Microsoft Corporation。保留所有权利。 [2022-09-27 14:04:37] [build-stdout] 1>cl: 命令行 warning D9002 :忽略未知选项“--help” [2022-09-27 14:04:37] [build-stdout] 1>cl: 命令行 error D8003 :缺少源文件名 [2022-09-27 14:04:37] [build-stdout] 1>正在编译... [2022-09-27 14:04:37] [build-stdout] 1>test.cpp [2022-09-27 14:04:37] [build-stdout] 1>.\test.cpp(30) : warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [2022-09-27 14:04:37] [build-stdout] 1> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\stdio.h(306) : 参见“scanf”的声明 [2022-09-27 14:04:37] [build-stdout] 1>.\test.cpp(41) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [2022-09-27 14:04:37] [build-stdout] 1> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : 参见“strcpy”的声明 [2022-09-27 14:04:37] [build-stdout] 1>正在链接... [2022-09-27 14:04:38] [build-stdout] 1>正在生成代码 [2022-09-27 14:04:38] [build-stdout] 1>已完成代码的生成 [2022-09-27 14:04:38] [build-stdout] 1>正在嵌入清单... [2022-09-27 14:04:38] [build-stdout] 1>生成日志保存在“file://c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\test\Release\BuildLog.htm” [2022-09-27 14:04:38] [build-stdout] 1>test - 0 个错误,2 个警告 [2022-09-27 14:04:38] [build-stdout] ========== 全部重新生成: 成功 1 个,失败 0 个,跳过 0 个 ========== [2022-09-27 14:04:38] Plumbing command codeql database trace-command completed. [2022-09-27 14:04:38] [PROGRESS] database create> Finalizing database at C:\codeql-home\databases\test. [2022-09-27 14:04:38] Running plumbing command: codeql database finalize --threads=0 --mode=normal --keep-temporary --no-db-cluster -- C:\codeql-home\databases\test [2022-09-27 14:04:38] [ERROR] database finalize> No source code was seen and extracted to C:\codeql-home\databases\test. This can occur if the specified build commands failed to compile or process any code.

This is a helloworld project for vs2008 I tested successfully under vs2022

rdmarsh2 commented 1 year ago

Thanks for reporting this. There should be an extractor folder in the log directory of the failed snapshot - could you zip that and share it?

jmpoep commented 1 year ago

[T 09:33:10 5008] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:10 5008] Initialising tags... [T 09:33:10 5008] ID set to 0000000000001390_0000000000000001 (parent root) [T 09:33:10 5008] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /clang-cl.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /cl.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /lld-link.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--ms-linker" [T 09:33:10 5008] Prepend[1] "--semmle-linker-executable" [T 09:33:10 5008] Prepend[2] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /link.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--ms-linker" [T 09:33:10 5008] Prepend[1] "--semmle-linker-executable" [T 09:33:10 5008] Prepend[2] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /*-as.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--assembler" [T 09:33:10 5008] Prepend[1] "--codeql-assembler-executable" [T 09:33:10 5008] Prepend[2] "${compiler}" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /as.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--assembler" [T 09:33:10 5008] Prepend[1] "--codeql-assembler-executable" [T 09:33:10 5008] Prepend[2] "${compiler}" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /collect2.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--linker" [T 09:33:10 5008] Prepend[1] "--semmle-linker-executable" [T 09:33:10 5008] Prepend[2] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /-ld.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--linker" [T 09:33:10 5008] Prepend[1] "--semmle-linker-executable" [T 09:33:10 5008] Prepend[2] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /ld*.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--linker" [T 09:33:10 5008] Prepend[1] "--semmle-linker-executable" [T 09:33:10 5008] Prepend[2] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /cx51.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /c51.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /*-g++.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /*-gcc.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: */-clang.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /armcc.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /g++*.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: */gcc.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Compilers file as of 2022-10-08 09:33:10 [T 09:33:10 5008] Compiler pattern: /clang*.exe [T 09:33:10 5008] Replace intercepted call: 0 [T 09:33:10 5008] Extractor: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe [T 09:33:10 5008] Prepend[0] "--mimic" [T 09:33:10 5008] Prepend[1] ""${compiler}"" [T 09:33:10 5008] Initialising tags... [T 09:33:10 5008] ID set to 0000000000001390_0000000000000002 (parent root) [T 09:33:10 5008] ==== Candidate to intercept: C:\codeql-home\codeql\tools\win64\runner.exe ==== [T 09:33:10 8800] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:10 8800] Initialising tags... [T 09:33:10 8800] ID set to 0000000000002260_0000000000000001 (parent 0000000000001390_0000000000000001) [T 09:33:10 8800] ==== Candidate to intercept: C:\Windows\System32\cmd.exe ==== [T 09:33:10 13864] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:10 13864] Initialising tags... [T 09:33:10 13864] ID set to 0000000000003628_0000000000000001 (parent 0000000000002260_0000000000000001) [T 09:33:11 13864] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com ==== [T 09:33:11 13864] Found LdrLoadDll (wow-64) at 00000000772FD260 [T 09:33:11 13240] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:11 13240] Initialising tags... [T 09:33:11 13240] Failed to close tags database (-30793). [T 09:33:11 13240] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe ==== [T 09:33:11 14008] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:11 14008] Initialising tags... [T 09:33:11 14008] Failed to close tags database (-30793). [T 09:33:11 14008] ==== Candidate to intercept: C:\Program Files (x86)\Nokia\Qt4VSAddin\qtappwrapper.exe ==== [T 09:33:11 15144] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:11 15144] Initialising tags... [T 09:33:11 15144] ID set to 0000000000003B28_0000000000000001 (parent root) [T 09:33:11 15132] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:11 15132] Initialising tags... [T 09:33:11 15132] ID set to 0000000000003B1C_0000000000000001 (parent root) [T 09:33:11 14008] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\VCBuildHelper.exe ==== [T 09:33:11 14008] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\VCBuildHelper.exe ==== [T 09:33:12 4104] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:12 4104] Initialising tags... [T 09:33:12 10088] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:12 10088] Initialising tags... [T 09:33:12 10088] Failed to close tags database (-30793). [T 09:33:12 10088] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe ==== [T 09:33:12 10088] === Intercepted call to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe === [E 09:33:13 11012] CodeQL C/C++ Extractor 1.29.0-SNAPSHOT [E 09:33:13 11012] Current directory: c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\testdll [E 09:33:13 11012] Command: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe --mimic "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe" "@c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\testdll\Release\RSP0000041400813524.rsp" /nologo /errorReport:queue [E 09:33:13 11012] Not a compiler; exiting. Reason: --version stdout was: 9.0\VC\bin\cl.exe" "@c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\test\Release\RSP000002140083292.rsp" /nologo /errorReport:queue Warning: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe does not look like a compiler. If it is infact a compiler, please contact GitHub. [E 09:33:13 6672] Not a compiler; exiting. Reason: --version stdout was:

--version stderr was:

process exited with code 2

ing3314376947705405034.spec... [T 09:33:12 6672] Initialising tags... [T 09:33:12 6672] ID set to 0000000000001A10_0000000000000001 (parent root) [T 09:33:12 13756] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:12 1380] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:12 1380] Initialising tags... [T 09:33:12 13756] Failed to close tags database (-30793). [T 09:33:12 1380] Failed to close tags database (-30793). [T 09:33:12 1380] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\mspdbsrv.exe ==== [T 09:33:12 14856] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:12 14856] Initialising tags... [T 09:33:12 14856] Failed to close tags database (-30793). [T 09:33:13 6672] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe ==== [T 09:33:13 6672] === Intercepted call to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe === [T 09:33:13 8772] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 8772] Initialising tags... [T 09:33:13 8772] ID set to 0000000000002244_0000000000000001 (parent 0000000000001A10_0000000000000001) [T 09:33:13 6672] Found LdrLoadDll (wow-64) at 00000000772FD260 [E 09:33:13 8772] Mimicry classification suppression detected; exiting. st\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 13920] Initialising tags... [T 09:33:13 13920] Failed to close tags database (-30793). [T 09:33:13 6672] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe ==== [T 09:33:13 6672] === Intercepted call to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe === [E 09:33:13 3912] Mimicry classification suppression detected; exiting. t\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 3912] Initialising tags... [T 09:33:13 3912] ID set to 0000000000000F48_0000000000000001 (parent 0000000000001A10_0000000000000001) [T 09:33:13 14872] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 14872] Initialising tags... [T 09:33:13 14872] Failed to close tags database (-30793). [T 09:33:13 14008] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\VCBuildHelper.exe ==== [T 09:33:13 14008] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\VCBuildHelper.exe ==== [T 09:33:13 9464] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 15100] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 9464] Initialising tags... [T 09:33:13 15100] Initialising tags... [T 09:33:13 15100] Failed to close tags database (-30793). [T 09:33:13 9464] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe ==== [T 09:33:13 9464] === Intercepted call to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe === [E 09:33:13 4792] CodeQL C/C++ Extractor 1.29.0-SNAPSHOT [E 09:33:13 4792] Current directory: c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\test [E 09:33:13 4792] Command: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe --mimic "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe" "@c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\test\Release\RSP000001140083292.rsp" /nologo /errorReport:queue [E 09:33:13 4792] Not a compiler; exiting. Reason: --version stdout was: ft Visual Studio 9.0\VC\bin\cl.exe" "@c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\testdll\Release\RSP0000031400813524.rsp" /nologo /errorReport:queue [E 09:33:13 4392] Not a compiler; exiting. Reason: --version stdout was: 4792] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 4792] Initialising tags... [T 09:33:13 4792] ID set to 00000000000012B8_0000000000000001 (parent root) [T 09:33:13 2804] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 2804] Initialising tags... [T 09:33:13 2804] Failed to close tags database (-30793). [T 09:33:13 4392] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 4392] Initialising tags... [T 09:33:13 4392] ID set to 0000000000001128_0000000000000001 (parent root) [T 09:33:13 3152] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 3152] Initialising tags... [T 09:33:13 3152] Failed to close tags database (-30793). [T 09:33:13 14008] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\VCBuildHelper.exe ==== [T 09:33:13 14008] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\VCBuildHelper.exe ==== [T 09:33:13 12040] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 12040] Initialising tags... [T 09:33:13 12040] Failed to close tags database (-30793). [T 09:33:13 10380] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 10380] Initialising tags... [T 09:33:13 10380] Failed to close tags database (-30793). [T 09:33:13 10380] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe ==== [T 09:33:13 10380] === Intercepted call to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe === [E 09:33:13 12392] CodeQL C/C++ Extractor 1.29.0-SNAPSHOT [E 09:33:13 12392] Current directory: c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\testdll [E 09:33:13 12392] Command: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe --mimic "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe" "@c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\testdll\Release\RSP0000051400813524.rsp" /nologo /errorReport:queue [E 09:33:13 12392] Not a compiler; exiting. Reason: --version stdout was: gram Files (x86)\Microsoft Visual Studio 9.0\VC\bin\link.exe" "@c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\test\Release\RSP000006140083292.rsp" /NOLOGO /ERRORREPORT:QUEUE [E 09:33:13 14540] Expanded response file c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\test\Release\RSP000006140083292.rsp: "/OUT:C:\Users\admin1\Documents\Visual Studio 2008\Projects\test\Release\test.exe" /INCREMENTAL:NO /MANIFEST:NO /DEBUG "/PDB:C:\Users\admin1\Documents\Visual Studio 2008\Projects\test\Release\test.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /LTCG /DYNAMICBASE /NXCOMPAT /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib .\Release\stdafx.obj .\Release\test.obj [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "kernel32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "user32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "gdi32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "winspool.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "comdlg32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "advapi32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "shell32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "ole32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "oleaut32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "uuid.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "odbc32.lib" (error 2: No such file or directory). [E 09:33:13 14540] Warning[extractor-c++]: In print_object_names: Could not open object file "odbccp32.lib" (error 2: No such file or directory). [T 09:33:13 14008] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\VCBuildHelper.exe ==== [T 09:33:13 5256] Reading configuration file C:\codeql-home\databases\test\working\tracing\compiler-tracing3314376947705405034.spec... [T 09:33:13 5256] Initialising tags... [T 09:33:13 5256] Failed to close tags database (-30793). [T 09:33:13 5256] ==== Candidate to intercept: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\link.exe ==== [T 09:33:13 5256] === Intercepted call to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\link.exe === [E 09:33:13 9152] CodeQL C/C++ Extractor 1.29.0-SNAPSHOT [E 09:33:13 9152] Current directory: c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\testdll [E 09:33:13 9152] Command: C:\codeql-home\codeql\cpp\tools\win64/extractor.exe --ms-linker --semmle-linker-executable "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\link.exe" "@c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\testdll\Release\RSP0000071400813524.rsp" /NOLOGO /ERRORREPORT:QUEUE [E 09:33:13 9152] Expanded response file c:\Users\admin1\Documents\Visual Studio 2008\Projects\test\testdll\Release\RSP0000071400813524.rsp: "/OUT:C:\Users\admin1\Documents\Visual Studio 2008\Projects\test\Release\testdll.dll" /INCREMENTAL:NO /DLL /MANIFEST:NO /DEBUG "/PDB:C:\Users\admin1\Documents\Visual Studio 2008\Projects\test\Release\testdll.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LTCG /DYNAMICBASE /NXCOMPAT /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib .\Release\dllmain.obj .\Release\stdafx.obj .\Release\testdll.obj [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "kernel32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "user32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "gdi32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "winspool.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "comdlg32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "advapi32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "shell32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "ole32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "oleaut32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "uuid.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "odbc32.lib" (error 2: No such file or directory). [E 09:33:13 9152] Warning[extractor-c++]: In print_object_names: Could not open object file "odbccp32.lib" (error 2: No such file or directory).

rdmarsh2 commented 1 year ago

Unfortunately I don't think we're going to be able to fix this, since VS 2008 is no longer supported by Microsoft.

jmpoep commented 1 year ago

Thank you very much for your reply