Re: readelf seems broken in F33
On 10/6/20 3:05 PM, Florian Weimer wrote: > * Steve Grubb: > >> I was doing some binary analysis of files in F33 and have run across >> something odd. >> >> readelf -s /usr/sbin/auditd | grep GLIBC >> >> produces a lot of output like: >> >>182: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 >> (3) >>184: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 >> (3) >>185: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 >> (3) >>186: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 >> (3) >>187: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.3.2 >> (2) >>191: 0 FUNCGLOBAL DEFAULT UND alarm@GLIBC_2.2.5 >> (3) >>194: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 >> (3) >>195: 0 FUNCGLOBAL DEFAULT UND close@GLIBC_2.2.5 >> (3) >>197: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 >> (3) >> >> It's missing a lot of symbols. Is this something with readelf or an odd >> effect of the LTO changes? > This question looks familiar. > > It's a deliberate change to indicate truncation. Use readelf -sW if you > want to avoid it. Truncation has been silent before, so it's necessary > to educate users about readelf -W. I think I may have used --wide in my test because I wanted to see more info... jeff ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: readelf seems broken in F33
* Steve Grubb: > I was doing some binary analysis of files in F33 and have run across > something odd. > > readelf -s /usr/sbin/auditd | grep GLIBC > > produces a lot of output like: > >182: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >184: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >185: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >186: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >187: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.3.2 > (2) >191: 0 FUNCGLOBAL DEFAULT UND alarm@GLIBC_2.2.5 > (3) >194: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >195: 0 FUNCGLOBAL DEFAULT UND close@GLIBC_2.2.5 > (3) >197: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) > > It's missing a lot of symbols. Is this something with readelf or an odd > effect of the LTO changes? This question looks familiar. It's a deliberate change to indicate truncation. Use readelf -sW if you want to avoid it. Truncation has been silent before, so it's necessary to educate users about readelf -W. Thanks, Florian -- Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: readelf seems broken in F33
On 9/16/20 3:44 PM, Steve Grubb wrote: > Hello, > > I was doing some binary analysis of files in F33 and have run across > something odd. > > readelf -s /usr/sbin/auditd | grep GLIBC > > produces a lot of output like: > >182: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >184: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >185: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >186: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >187: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.3.2 > (2) >191: 0 FUNCGLOBAL DEFAULT UND alarm@GLIBC_2.2.5 > (3) >194: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) >195: 0 FUNCGLOBAL DEFAULT UND close@GLIBC_2.2.5 > (3) >197: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 > (3) > > It's missing a lot of symbols. Is this something with readelf or an odd > effect of the LTO changes? Odd, I'm running F33 bits here and I get 159 symbols from running that (out of 206 total symbols). jeff pEpkey.asc Description: application/pgp-keys ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
readelf seems broken in F33
Hello, I was doing some binary analysis of files in F33 and have run across something odd. readelf -s /usr/sbin/auditd | grep GLIBC produces a lot of output like: 182: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3) 184: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3) 185: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3) 186: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3) 187: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.3.2 (2) 191: 0 FUNCGLOBAL DEFAULT UND alarm@GLIBC_2.2.5 (3) 194: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3) 195: 0 FUNCGLOBAL DEFAULT UND close@GLIBC_2.2.5 (3) 197: 0 FUNCGLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3) It's missing a lot of symbols. Is this something with readelf or an odd effect of the LTO changes? -Steve ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org