You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the main sources of false positives/ambiguity comes from packages that vendor a copy of a header file.
Adding an ability to recognize include standard/sysroot include directories in package contents will help significantly, though to recognize some very commonly used libraries like libstdc++ there are some multiarch and common compiler subfolders that need recognizing:
Directly under usr/include, maybe with one subfolder being omitted as allowed? (e.g. if they included a vendored copy but left out a subfolder from the include path)
Multiarch triplet include folders: usr/x86_64-linux-gnu/include (Support for multiarch include paths: https://wiki.debian.org/Multiarch)
Nested subfolders specific to libstdc++/compilers: usr/x86_64-linux-gnu/include/c++/11/, usr/lib/llvm-16/lib/clang/16/include/stdarg.h, usr/lib/gcc-cross/x86_64-linux-gnux32/12/include/stdbool.h, etc
Encountered many matches for anything in libstdc++, libc++, and libc across versions (e.g. bits/ and c++/9/ and c++/10/) and architectures need to be collapsed into one (include file name is not enough to determine version): "universe/devel/libstdc++-10-dev-arm64-cross", "usr/aarch64-linux-gnu/include/c++/10/valarray", etc
One of the main sources of false positives/ambiguity comes from packages that vendor a copy of a header file.
Adding an ability to recognize include standard/sysroot include directories in package contents will help significantly, though to recognize some very commonly used libraries like libstdc++ there are some multiarch and common compiler subfolders that need recognizing:
usr/x86_64-linux-gnu/include
(Support for multiarch include paths: https://wiki.debian.org/Multiarch)libstdc++/compilers: usr/x86_64-linux-gnu/include/c++/11/
,usr/lib/llvm-16/lib/clang/16/include/stdarg.h
,usr/lib/gcc-cross/x86_64-linux-gnux32/12/include/stdbool.h
, etcExamples:
The text was updated successfully, but these errors were encountered: