SUSE / clang-extract

A tool to extract code content from source files using the clang and LLVM infrastructure.
Other
16 stars 2 forks source link

libcextract: Add support for Weak symbols for kernel mode #109

Closed marcosps closed 3 months ago

marcosps commented 3 months ago

Until this point all symbols found in kernel mode (usually using Symvers file), were strong (with externalized variables) or none (which copied the symbols to the closure). Now clang-extract checks is the symbol is present on vmlinux, meaning that the symbol is weak externalized, meaning the the symbol will be always present.

giulianobelinassi commented 3 months ago

LGTM