| 135 | #[derive(Clone)] |
| 136 | #[repr(C)] |
| 137 | pub struct PeMetadata { |
| 138 | pub pe: u32, |
| 139 | pub is_32_bit: bool, |
| 140 | pub image_file_header: IMAGE_FILE_HEADER, |
| 141 | pub opt_header_32: IMAGE_OPTIONAL_HEADER32, |
| 142 | pub opt_header_64: IMAGE_OPTIONAL_HEADER64, |
| 143 | pub sections: Vec<IMAGE_SECTION_HEADER> |
| 144 | } |
| 145 | |
| 146 | impl Default for PeMetadata { |
| 147 | fn default() -> PeMetadata { |
nothing calls this directly
no outgoing calls
no test coverage detected