[PATCH v3 3/6] libdwelf: Add dwelf_dwarf_gnu_debugaltlink

Florian Weimer fweimer at redhat.com
Thu Apr 24 12:23:42 UTC 2014


On 04/23/2014 02:44 PM, Mark Wielaard wrote:

>> I'm not sure if this addresses this completely addresses the issue.  A
>> return value of 0 could mean "no debugaltlink data" or "the build ID has
>> zero length".
>
> But a zero length build ID isn't valid, so then you would just return -1
> and set DWARF_E_INVALID_ELF.

Okay, I did this in the attached patches.

Do you want me to resubmit the final part concerning libdwfl?

-- 
Florian Weimer / Red Hat Product Security Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libdwelf-Add-dwelf_dwarf_gnu_debugaltlink.patch
Type: text/x-patch
Size: 12334 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20140424/c7170ce7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-tests-allfcts.c-Install-alternate-debug-information.patch
Type: text/x-patch
Size: 3171 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20140424/c7170ce7/attachment-0001.bin>


More information about the elfutils-devel mailing list