Comments (12)
Hi! I've re-ran this test with CodeQL CLI version 2.2.4, and found similar results.
By looking only at c and cc files, I see that there are 1140 missing files from the database, albeit ~700 of them are test files, but they do appear in compile_commands.json.
from codeql-cli-binaries.
We crash while extracting that file so it doesn't end up in the database. We can reproduce it and we are working on a fix.
from codeql-cli-binaries.
Can you please give the output of codeql --version
? There are several different issues going on here and I want to check that I am seeing the same issues you are.
from codeql-cli-binaries.
Hi Matt,
$ ./codeql/codeql --version
CodeQL command-line toolchain.
Version: 2.0.1.
Copyright (C) 2019 GitHub, Inc.
I'm using the latest released version downloaded from this github repo
from codeql-cli-binaries.
Thank you for that info. I have identified several different issues which in our code base which are being triggered by the fuchsia build. I am working on fixes - but unfortunately they are unlikely to land in the next release of CodeQL. I will keep you updated on how the work is going through this ticket.
from codeql-cli-binaries.
Cool! Let me know if there's anything I can do to help.
from codeql-cli-binaries.
We have fixes internally now for a couple of the main issues (lld
not recognised as a linker, and the vast majority of extraction failures). These should make it into the next release of the CodeQL CLI Binaries (v2.0.3). I do not have a date for that release yet.
from codeql-cli-binaries.
(@matt-gretton-dann actually 2.0.3 will probably be a point release after 2.0.2 to fix just a single brown-paper-bag bug, and probably out tomorrow. The one that contains your fixes this will then be 2.0.4).
from codeql-cli-binaries.
Do you know if the change made it a release? We are at 2.1.0
from codeql-cli-binaries.
/zircon/tools/zbi/zbi.cc
is now being included in my database. Will continue testing to see if there's something else missing.
from codeql-cli-binaries.
I ran the following query to list all the files:
import cpp
from File f
select f.getAbsolutePath(), ""
I see 8046 different files.
And also gathered all the files from compile_commands.json used during compilation in fuchsia (both in out/default and out/default.zircon). Doing a sort | uniq, I get 9320 different cc files.
This means that there are ~1.3k files that are missing. This gist contains the list of files in the db and in compile_commands.json.
Some examples of missing files (by eye) are some of the autogenerated fidl files, some unit tests, and some random files that I have no idea why are missing.
from codeql-cli-binaries.
@mvanotti Are you still running into this?
from codeql-cli-binaries.
Related Issues (20)
- vs2008 cpp project errror HOT 4
- CLI can't handle '@' in query file path HOT 11
- [Java][maven] "No source code was seen and extracted" HOT 1
- ERROR: Could not detect a suitable build command for the source checkout HOT 2
- Evaluator log summary generation failed due to `NullPointerException` HOT 2
- Cannot create a database on M1 Mac HOT 4
- Missing Source Files from Database for XNU HOT 7
- Xcode iOS simulator build fails when codeql is injected HOT 14
- CodeQL Cpp Library Errors when Publishing CodeQL Pack HOT 2
- GitHub Code Scanning does not recognize CodeQL Analysis Workflow HOT 2
- A fatal error occurred: IOException while executing process with args: [/home/abs4x/CodeQL/cli/tools/linux64/scc, --by-file, --format, json] HOT 5
- Java heap problem
- Option --overwrite does not overwrite database folder created by --db-cluster HOT 3
- Linux arm64 support? HOT 2
- No supported build system detected. HOT 1
- CodeQL enable breaks mono path HOT 2
- Could not resolve library path for /Users/xxx/codeql/codeql-exm/java/ql/examples HOT 2
- Could not resolve module csharp
- typescript-parser-wrapper fails for tsconfig.json path check on Windows HOT 8
- Changelog entry for 2.13.5 is missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeql-cli-binaries.