MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / from

Method from

plugins/warp/src/cache.rs:397–402  ·  view source on GitHub ↗
(value: &BinaryView)

Source from the content-addressed store, hash-verified

395
396impl 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
405impl From<BNRef<BinaryView>> for ViewID {

Callers

nothing calls this directly

Calls 11

as_bytesMethod · 0.80
original_image_baseMethod · 0.45
session_idMethod · 0.45
fileMethod · 0.45
finishMethod · 0.45
as_refMethod · 0.45
startMethod · 0.45
lowest_addressMethod · 0.45
highest_addressMethod · 0.45
writeMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected