-
Hi all, No source code was seen and extracted to C:\xxx. For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
Does codeql support MinGW-w64 (v12.2.0) if not what is the soulution to generate codeql database? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@FaiqueAli This seems to be a duplicate of #10132 . Would you like to continue the discussion here or on the other issue ticket? |
Beta Was this translation helpful? Give feedback.
-
The CodeQL C/C++ analyser tracks which source files are compiled during the build process. The error message says that CodeQL somehow did not "see" any source files. This can have various causes: CodeQL did not detect any compiler commands (such as gcc.exe) Could you have a look in the src.zip file in the database folder? This file contains copies of the source files that CodeQL analysed. If there are files but the folder structure does not match the sourceLocationPrefix, then you could try to adjust the sourceLocationPrefix (-s, --source-root flag to codeql database create). If there are few (or no) files in the zip file then CodeQL likely failed to detect the compiler calls. In this case you best have a look at the log/build-tracer.log file in the database folder. |
Beta Was this translation helpful? Give feedback.
I would like to continue at #10132.