(value: &BinaryView)
| 395 | |
| 396 | impl From<&BinaryView> for ViewID { |
| 397 | fn from(value: &BinaryView) -> Self { |
| 398 | let mut hasher = DefaultHasher::new(); |
| 399 | hasher.write_u64(value.original_image_base()); |
| 400 | hasher.write_usize(value.file().session_id()); |
| 401 | Self(hasher.finish()) |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | impl From<BNRef<BinaryView>> for ViewID { |
nothing calls this directly
no test coverage detected