libdwarf
Functions
Access to Section .debug_sup

Functions

int dwarf_get_debug_sup (Dwarf_Debug dw_dbg, Dwarf_Half *dw_version, Dwarf_Small *dw_is_supplementary, char **dw_filename, Dwarf_Unsigned *dw_checksum_len, Dwarf_Small **dw_checksum, Dwarf_Error *dw_error)
 Return basic .debug_sup section header data. More...
 

Detailed Description

Function Documentation

◆ dwarf_get_debug_sup()

int dwarf_get_debug_sup ( Dwarf_Debug  dw_dbg,
Dwarf_Half dw_version,
Dwarf_Small dw_is_supplementary,
char **  dw_filename,
Dwarf_Unsigned dw_checksum_len,
Dwarf_Small **  dw_checksum,
Dwarf_Error dw_error 
)

This returns basic data from the header of a .debug_sup section. See DWARF5 Section 7.3.6, "DWARF Supplementary Object Files"

Other sections present should be normal DWARF5, so normal libdwarf calls should work. We have no existing examples on hand, so it is hard to know what really works.

If there is no such section it returns DW_DLV_NO_ENTRY.