[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] [PATCH] Enable visibility annotations

From: Mike Frysinger
Subject: Re: [Bug-readline] [PATCH] Enable visibility annotations
Date: Thu, 14 Apr 2016 10:50:12 -0400

On 14 Apr 2016 15:07, Pedro Alves wrote:
> On 04/14/2016 01:28 PM, Yury Gribov wrote:
> > Thanks, this sounds as a general problem with visibility enabling.  Is
> > there some (relatively straightforward) way to find all used symbols?
> > I'm afraid there'll be more than just _rl_*...
> I don't know of one, other than a mass rebuild (which is something
> that I have never done myself).
> A cheap proxy may be to look under /usr/bin /usr/lib etc. for
> binaries with DTNEEDED readline, and then compare all of readline's
> extern symbols with the binary binaries' set of extern symbols,
> check for overlap in symbols that are not prefixed "rl_".

good idea.  here's a scan on my system of all _rl_ symbols.
$ scanelf -qRygs '-^_rl.*' /bin/ /sbin/ /lib64/ /usr/lib64/ /usr/bin/ /usr/sbin/
_rl_erase_entire_line,_rl_qsort_string_compare  /usr/bin/gdb

i would point out that these are the symbols libedit exports:

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]