Closed marcosps closed 3 weeks ago
Having this feature, along with clang-extract also able to check symbols from compressed modules, and finally with compile_commands.json packaged from the kernel we are creating the livepatch are the final details to enable one to create a livepatch for their running system, without requiring any compilation and sources manipulation.
We still have a long road ahead, but maybe in the next hackweek we can at least support this on klp-build, and maybe on clang-extract :)
Already done for gzip and zstd. For now we only miss xz (lzma) format.
With gz and zstd we have tumbleweed covered. So let's close this issue for now.
Currently we don't support modules and vmlinux ELF object to be compressed with zst or other algorithms, so it would be nice to decompress before checking if a given symbol is present.
This would make easier to integrate klp-build with different distributions, since we would not require us to decompress the objects beforehand.