-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Description
Libcaca.so presently exports 134 symbols (35%, full list attached) which are not present in libcaca's headers and thus are not supposed to be used by clients.
Removing these symbols would allow compiler to optimize code more aggressively, speed up dynamic linker on Linux and prevent clients from inadvertently using internal APIs.
I attached a simple patch that hides private symbols. It passes make check (I can do additional testing if needed). Would something like this be interesting for the project?
caca_removed_syms.txt
0001-Hide-private-symbols.patch.txt
The issue was found using ShlibVisibilityChecker.
rusyaev-roman
Metadata
Metadata
Assignees
Labels
No labels