DoxigAlpha

Dwarf

Fields of this type

Fields

#
endian:std.builtin.Endian
sections:SectionArray
= null_section_array
is_macho:bool
abbrev_table_list:ArrayList(Abbrev.Table)
Filled later by the initializer
compile_unit_list:ArrayList(CompileUnit)
Filled later by the initializer
func_list:ArrayList(Func)
Filled later by the initializer
eh_frame_hdr:?ExceptionFrameHeader
Starts out non-`null` if the `.eh_frame_hdr` section is present.
cie_map:std.AutoArrayHashMapUnmanaged(u64, CommonInformationEntry)
These lookup tables are only used if `eh_frame_hdr` is null
fde_list:ArrayList(FrameDescriptionEntry)
Sorted by start_pc
ranges:ArrayList(Range)
Populated by `populateRanges`.

Type definitions in this namespace

Types

#
ExceptionFrameHeader
This represents the decoded .eh_frame_hdr header

Initialize DWARF info.

Functions

#
open
Initialize DWARF info.
findCompileUnit
TODO: change this to binary searching the sorted compile unit list
scanAllUnwindInfo
If `.eh_frame_hdr` is present, then only the header needs to be parsed.
scanCieFdeInfo
Scan `.eh_frame` and `.debug_frame` and build a sorted list of FDEs for binary searching during
compactUnwindToDwarfRegNumber
Returns the DWARF register number for an x86_64 register number found in compact unwind info
bad
This function is to make it handy to comment out the return and make it

Error sets in this namespace

Error Sets

#

= [_]?Section{null} ** num_sections

Values

#
null_section_array
= [_]?Section{null} ** num_sections