(section: &impl ObjectSection<'a>)
| 52 | let eh_frame_hdr = file.section_by_name(".eh_frame_hdr"); |
| 53 | |
| 54 | fn section_data<'a>(section: &impl ObjectSection<'a>) -> Option<Vec<u8>> { |
| 55 | section.data().ok().map(|data| data.to_owned()) |
| 56 | } |
| 57 | |
| 58 | let eh_frame_data = eh_frame.as_ref().and_then(section_data); |
| 59 | let eh_frame_hdr_data = eh_frame_hdr.as_ref().and_then(section_data); |
nothing calls this directly
no outgoing calls
no test coverage detected