(&self, f: &mut std::fmt::Formatter<'_>)
| 2048 | |
| 2049 | impl std::fmt::Debug for BinaryView { |
| 2050 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 2051 | f.debug_struct("BinaryView") |
| 2052 | .field("type_name", &self.type_name()) |
| 2053 | .field("file", &self.file()) |
| 2054 | .field("original_image_base", &self.original_image_base()) |
| 2055 | .field("start", &self.start()) |
| 2056 | .field("end", &self.end()) |
| 2057 | .field("len", &self.len()) |
| 2058 | .field("default_platform", &self.default_platform()) |
| 2059 | .field("default_arch", &self.default_arch()) |
| 2060 | .field("default_endianness", &self.default_endianness()) |
| 2061 | .field("entry_point", &self.entry_point()) |
| 2062 | .field( |
| 2063 | "entry_point_functions", |
| 2064 | &self.entry_point_functions().to_vec(), |
| 2065 | ) |
| 2066 | .field("address_size", &self.address_size()) |
| 2067 | .field("sections", &self.sections().to_vec()) |
| 2068 | .field("segments", &self.segments().to_vec()) |
| 2069 | .finish() |
| 2070 | } |
| 2071 | } |
| 2072 | |
| 2073 | pub trait BinaryViewEventHandler: 'static + Sync { |
nothing calls this directly
no test coverage detected