| 15 | /// A loadable segment from an ELF `PT_LOAD` program header |
| 16 | #[derive(Debug)] |
| 17 | pub struct ElfLoadSegment { |
| 18 | pub offset: u64, |
| 19 | pub vaddr: u64, |
| 20 | pub file_size: u64, |
| 21 | pub mem_size: u64, |
| 22 | } |
| 23 | |
| 24 | impl ParsedElf { |
| 25 | /// Parse an ELF-64 image from raw bytes, erroring on any format violation. |
nothing calls this directly
no outgoing calls
no test coverage detected