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.

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.

Parameters

isValidMemory: *const fn (usize) bool,
eh_frame_len: ?usize,
eh_frame_hdr_ptr: usize,
pc: usize,