[Dwarf-discuss] Proposal: Allow padding in all tables

Cary Coutant ccoutant@gmail.com
Fri Jan 19 06:50:02 GMT 2024


> ### .debug_abbrev
>
> In Section 7.5.3 "Abbreviations Tables" (p.207), at the end of the section, add a new non-normative paragraph:
>
> *This table may be padded by adding an unused abbreviation entry. The minimum number of bytes in an abbreviation entry is four (abbreviation number, child flag, and two 0 bytes indicating the end of the attribute/form pairs). This can be expanded by choosing a large abbreviation number with a longer LEB128 encoding, or adding non-zero attribute/form pairs.*

Couldn't the abbrev table simply be padded with 0 bytes?

-cary


More information about the Dwarf-discuss mailing list