| 67 | #[derive(Clone)] |
| 68 | #[repr(C)] |
| 69 | pub struct PeMetadata { |
| 70 | pub pe: u32, |
| 71 | pub is_32_bit: bool, |
| 72 | pub image_file_header: IMAGE_FILE_HEADER, |
| 73 | pub opt_header_32: IMAGE_OPTIONAL_HEADER32, |
| 74 | pub opt_header_64: IMAGE_OPTIONAL_HEADER64, |
| 75 | pub sections: Vec<IMAGE_SECTION_HEADER> |
| 76 | } |
| 77 | |
| 78 | impl Default for PeMetadata { |
| 79 | fn default() -> PeMetadata { |
nothing calls this directly
no outgoing calls
no test coverage detected