Expand description
Functions for parsing DWARF .debug_info and .debug_types sections.
StructsΒ§
- Attribute
- An attribute in a
DebuggingInformationEntry, consisting of a name and associated value. - Attrs
Iter - An iterator over a particular entryβs attributes.
- Debug
Info - The
DebugInfostruct represents the DWARF debugging information found in the.debug_infosection. - Debug
Info Unit Headers Iter - An iterator over the units of a .debug_info section.
- Debug
Types - The
DebugTypesstruct represents the DWARF type information found in the.debug_typessection. - Debug
Types Unit Headers Iter - An iterator over the type-units of this
.debug_typessection. - Debugging
Information Entry - A Debugging Information Entry (DIE).
- Entries
Cursor - A cursor into the Debugging Information Entries tree for a compilation unit.
- Entries
Raw - A raw reader of the data that defines the Debugging Information Entries.
- Entries
Tree - The state information for a tree view of the Debugging Information Entries.
- Entries
Tree Iter - An iterator that allows traversal of the children of an
EntriesTreeNode. - Entries
Tree Node - A node in the Debugging Information Entry tree.
- Unit
Header - The common fields for the headers of compilation units and type units.
EnumsΒ§
- Attribute
Value - The value of an attribute in a
DebuggingInformationEntry. - Unit
Type - This enum specifies the type of the unit and any type specific data carried in the header (e.g. the type signature/type offset of a type unit).
FunctionsΒ§
- allow_
section_ πoffset - length_
u8_ πvalue - length_
u16_ πvalue - length_
u32_ πvalue - length_
uleb128_ πvalue - parse_
attribute π - parse_
debug_ πabbrev_ offset - Parse the
debug_abbrev_offsetin the compilation unit header. - parse_
debug_ πinfo_ offset - Parse the
debug_info_offsetin the arange header. - parse_
dwo_ πid - Parse a dwo_id from a header
- parse_
type_ πoffset - Parse a type unit headerβs type offset.
- parse_
type_ πsignature - Parse a type unit headerβs unique type signature. Callers should handle unique-ness checking.
- parse_
unit_ πheader - Parse a unit header.
- parse_
unit_ πtype - Parse the unit type from the unit header.
- skip_
attributes π