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

Method basic_blocks

rust/src/function.rs:412–420  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

410 }
411
412 pub fn basic_blocks(&self) -> Array<BasicBlock<NativeBlock>> {
413 unsafe {
414 let mut count = 0;
415 let blocks = BNGetFunctionBasicBlockList(self.handle, &mut count);
416 let context = NativeBlock { _priv: () };
417
418 Array::new(blocks, count, context)
419 }
420 }
421
422 /// Returns the BasicBlock that contains the given address `addr`.
423 ///

Callers 12

check_functionFunction · 0.45
test_hlil_infoFunction · 0.45
test_mlil_infoFunction · 0.45
test_llil_infoFunction · 0.45
test_llil_visitorFunction · 0.45
mainFunction · 0.45
disassembleFunction · 0.45
mainFunction · 0.45
example_activityFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_hlil_infoFunction · 0.36
test_mlil_infoFunction · 0.36
test_llil_infoFunction · 0.36
test_llil_visitorFunction · 0.36