Fields

length_offset: usize,

Offset of the length field in the backing buffer

is_64: bool,
type: union(enum) {
    cie: void,
    fde: u64,
    terminator: void,
},
entry_bytes: []const u8,

The entry’s contents, not including the ID field

Functions

fn entryLength(self: EntryHeader) usize

The length of the entry including the ID field, but not the length field itself

fn read(stream: *field_call, dwarf_section: DwarfSection, endian: std.builtin.Endian) !EntryHeader

Reads a header for either an FDE or a CIE, then advances the stream to the posit…

Reads a header for either an FDE or a CIE, then advances the stream to the position after the trailing structure. stream must be a stream backed by either the .eh_frame or .debug_frame sections.