[PATCH libICE] Enable visibility annotations

Adam Jackson ajax at nwnk.net
Mon Apr 18 15:21:20 UTC 2016


On Mon, 2016-04-18 at 09:23 +0300, Yury Gribov wrote:

> Does below look like a sane approach?
> 1) get all deps via
>    $ apt-cache rdepends libice6 libice-dev
> 2) unpack each of the above .debs and scan for ELFs
> 3) for each ELF see if one of now hidden symbols is UND

That sounds good to me.

> Note that this does not handle transitive dependencies e.g. if some 
> weird library links static version of libICE and the re-exports it's 
> symbols as part of new lib's public interface.

It'd be possible to scan for this too I suspect.  Look for packages
that BuildRequire libice6-static, scan the resulting binaries for
exports. I suspect there are zero such packages.

- ajax


More information about the xorg-devel mailing list