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

Method hash

rust/src/basic_block.rs:262–266  ·  view source on GitHub ↗
(&self, state: &mut H)

Source from the content-addressed store, hash-verified

260
261impl<C: BlockContext> Hash for BasicBlock<C> {
262 fn hash<H: Hasher>(&self, state: &mut H) {
263 self.function().hash(state);
264 self.block_type().hash(state);
265 state.write_usize(self.index());
266 }
267}
268
269impl<C: BlockContext> PartialEq for BasicBlock<C> {

Callers

nothing calls this directly

Calls 3

block_typeMethod · 0.80
functionMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected