Reduce the compilation units from libarchive by mike-myers-tob · Pull Request #6...
source link: https://github.com/osquery/osquery/pull/6886
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Conversation
Recently in the osquery Slack, a user with Black Duck Software has shared a security audit report that it generates. One of the things it is flagging is an outdated version of lz4
. While osquery doesn't directly use lz4
for anything, it is compiled in as part of libarchive
because our CMakeLists
for this library was compiling all of the library, even the parts we don't need.
This PR reduces the size of the compiled libarchive
library, improves slightly osquery's build time, and removes unused code that we won't have to maintain, like lz4
support.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK