| 69 | |
| 70 | #[derive(Debug, Clone, Default)] |
| 71 | pub struct Section { |
| 72 | /// Unique section ID |
| 73 | pub id: String, |
| 74 | pub name: String, |
| 75 | pub address: u64, |
| 76 | pub size: u64, |
| 77 | pub kind: SectionKind, |
| 78 | pub data: SectionData, |
| 79 | pub flags: SectionFlagSet, |
| 80 | pub align: Option<NonZeroU64>, |
| 81 | pub relocations: Vec<Relocation>, |
| 82 | /// Line number info (.line or .debug_line section) |
| 83 | pub line_info: BTreeMap<u64, u32>, |
| 84 | /// Original virtual address (from .note.split section) |
| 85 | pub virtual_address: Option<u64>, |
| 86 | } |
| 87 | |
| 88 | #[derive(Clone, Default)] |
| 89 | #[repr(transparent)] |
no outgoing calls
no test coverage detected