This represents the decoded .eh_frame_hdr header
Functions
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. Ifeh_frame_len
is provided, then these checks can be skipped.