Module primitives

Source
Expand description

DWARF-specific primitive parsers and utilities

Structs§

Attr
DataOffset
FieldPath
A parser that follows a chain of fields, accumulating offsets
Generic
Check if current entry matches expected generic name
Identity
IsMember
Check if current entry has expected name and return it
IsMemberOffset
Check if current entry has expected name and get its offset
IsMemberTag
Member
MemberByTag
OptionalAttr
Parser that gets an optional attribute
ResolveType
Combinator that resolves a Die into a type definition
ResolveTypeShallow
Combinator that resolves a Die into a type definition (shallow)

Functions§

attr
Generic attribute parser
data_offset
Parser for getting offset values
entry_type
field_path_offset
Parse a field path and return the final offset
generic
identity
Parser that does nothing, just returns the entry as is
is_member
is_member_offset
is_member_tag
Check if current entry has expected tag and return it
member
Find a member by name and return its Die
member_by_tag
Find a member by tag and return its Die
name
offset
optional_attr
resolve_type
resolve_type_shallow
resolved_generic
rust_cu
tag