Bug 19139 - DWARF reader doesn't handle garbage in function names
Summary: DWARF reader doesn't handle garbage in function names
Status: RESOLVED FIXED
Alias: None
Product: libabigail
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Dodji Seketeli
URL:
Keywords:
: 19202 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-15 19:05 UTC by Ben Woodard
Modified: 2015-11-05 16:01 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
reproducing ELF file. (124.33 KB, application/x-object)
2015-10-15 19:05 UTC, Ben Woodard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Woodard 2015-10-15 19:05:38 UTC
Created attachment 8722 [details]
reproducing ELF file.

hype356@ben:~/bin/abidw --abidiff /collab/usr/global/tools/stat/chaos_5_x86_64_ib/test_apps/UMT_v1.1/Teton/communication/DomainNeighborMapInst.o       
/tmp/libabigail-tmp-file-i8kw68:7640: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xBD 0x34 0x27 0x2F
      <parameter type-id='type-id-22' name='$?4'/>
                                             ^
Could not read temporary XML representation of elf file back
Comment 1 Ben Woodard 2015-10-19 23:58:30 UTC
Verified that this still happens with dodji/fixes up through 7f82a37cb86df8413c0818ee45d17443bd8887c2
Comment 2 Dodji Seketeli 2015-11-05 15:07:24 UTC
*** Bug 19202 has been marked as a duplicate of this bug. ***
Comment 3 Dodji Seketeli 2015-11-05 16:00:41 UTC
This issue should now be fixed by commit https://sourceware.org/git/gitweb.cgi?p=libabigail.git;a=commit;h=75515395e1609000df42cf7ebfedb943ed42b547 in the master branch.

Thank you for reporting this issue!
Comment 4 Dodji Seketeli 2015-11-05 16:01:54 UTC
Sorry, it's fixed by this commit, rather:

https://sourceware.org/git/gitweb.cgi?p=libabigail.git;a=commit;h=7b35e89315f5530da29cf4745546c90ef76d27d9.

Sorry for the copy-paste error.

Cheers,