Skip to content

Chromium database much smaller than it should be #8755

Closed
@Ludgershall

Description

@Ludgershall

Hello,

I've created a CodeQL database of Chromium. I've used the official tutorial from Google (https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md).
When it came to building Chromium, I've swapped the command autoninja -C out/Default chrome by codeql database create chromium-database --language=cpp --command="autoninja -C out/Default chrome" -J-Xmx26034M.
EDIT: Just to be clear, I've started compiling from scratch.

Everything built just fine but when I took a look at the final database, it looked a lot smaller that I think it should be (a folder of 268 items for 762MB).
I've opened the resulting DB in VSCode and sure enough plenty of files were missing.

I've included a picture of the available files/folders present when opening the DB in VSCode.
download

Can you point out a way to have a more complete database? Thanks

Configuration:
Ubuntu 20
CodeQL CLI v2.8.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions