This represents the decoded .eh_frame_hdr header

Fields

eh_frame_ptr: usize,
table_enc: u8,
fde_count: usize,
entries: []const u8,

Functions

fn entrySize(table_enc: u8) !u8

No documentation provided.

fn findEntry(self: ExceptionFrameHeader, isValidMemory: *const fn (usize) bool, eh_frame_len: ?usize, eh_frame_hdr_ptr: usize, pc: usize, cie: *CommonInformationEntry, fde: *FrameDescriptionEntry) !void

Find an entry by binary searching the eh_frame_hdr section.

Find an entry by binary searching the eh_frame_hdr section.

Since the length of the eh_frame section (eh_frame_len) may not be known by the caller, isValidMemory will be called before accessing any memory referenced by the header entries. If eh_frame_len is provided, then these checks can be skipped.