https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239516

Mark Johnston <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]            |[email protected]
             Status|New                         |In Progress

--- Comment #3 from Mark Johnston <[email protected]> ---
(In reply to Paco Pascal from comment #2)
My apologies for not following up sooner!  I think you indeed found the root
cause, thanks.  Thinking about this some more, I suspect that libdwarf should
be handling this case itself, rather than forcing it into consumers.

I looked at SGI libdwarf, and it appears to handle this:
dwarf_elf_object_access_load_section() looks for a NULL d_buf in the data
descriptor of the target ELF section, which indicates that the section is
SHT_NOBITS.  I proposed a patch here: https://reviews.freebsd.org/D25626

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to