|
| From: | Pedro Alves |
| Subject: | Re: [Bug-readline] [PATCH] Enable visibility annotations |
| Date: | Thu, 14 Apr 2016 16:49:09 +0100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 04/14/2016 03:41 PM, Yury Gribov wrote:
>
> # Find all imported symbols in rootfs
> for f in $(find /bin /sbin /usr/bin /usr/sbin /usr/lib* /lib*); do if
> file $f | grep -q ELF; then readelf -sDW $f | awk '/UND/{print $9}'; fi
This doesn't seem right -- does it catch references to global variables?
Those won't be UND, I believe?
> ; done > all_undefs.lst
> sort -u all_undefs.lst > all_undefs_sorted.lst
Thanks,
Pedro Alves
| [Prev in Thread] | Current Thread | [Next in Thread] |