Skip to content

several source files are included in src.zip, but not in the database #7582

@KeuntaeShin

Description

@KeuntaeShin

Version: CodeQL command-line toolchain release 2.7.3.
Target language: cpp
Target source: Linux kernel

While checking the query result finding function call sites, i notice that statements of several files were not included in the result.

After checking the database directory:

  1. The src.zip includes the several files

  2. In database-create-xxx.log, i can't see traps of several files, build messages ("[build-stdout] CC [M] drivers/xxx.o") are shown though.

  3. In database-create-xxx.log, there are error messages:
    java.io.IOException: Brotli stream decoding failed
    ...
    org.brotli.dec.BrotliRuntimeException: Unused space
    ...
    java.io.IOException: Brotli stream decoding failed
    ...
    org.brotli.dec.BrotliRuntimeException: Corrupted padding bits

I feel that some source files are not treated as targets of database. Is there any way to figure out what files are handled for creating database, and are not? And why the files are not targeted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions