Open is0l4t3dt0m4t0 opened 2 years ago
Additional note: An git version of WebKit uses flatpak
and bubblewrap
, which gives isolated(sandboxed) environment during compilation. but I think it isn't a cause of this issue since there are many other files are still analyzed in databases and can be found from ql query. I also have tried compilation with codeql inside of the flatpak environment, but the problem was not solved.
Thanks for the report. Can you provide a zip of the entire log directory from the database where source files went missing?
https://1drv.ms/u/s!Aur4BddAgni6f5mNrpiyBIlpHEY?e=uoWIdk Here is compressed log directory.
Thanks. Hopefully @github/codeql-c-extractor will be able to investigate.
Target: https://github.com/WebKit/WebKit with commit a9adb787a00f51002f150168c9a25ea1fcd1d2f0 Using CodeQL with following commands:
Tools/Scripts/build-webkit --gtk --release
Compiler: Pre-built version of clang12 (setexport CC=clang; export CXX=clang++
before compilation) OS: Ubuntu 20.04 x64 CodeQL Version: 2.7.0Although the compilation process is completed and a CodeQL database is created, CodeQL seems failed on analyzing some source codes. The path of missing files doesn't exist in
database-create-DATE.log
and aren't shown in ql query results(e.g.from File f select f.location()
). butbuild-tracer.log
includes archiving logs for these files.For example,
Source/WebCore/svg/properties/SVGPropertyAnimator.h
is missing andSource/WebCore/svg/SVGZoomEvent.cpp
is missing in database while its header file,Source/WebCore/svg/SVGZoomEvent.h
, exist in the database.