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

Method basic_blocks

rust/src/medium_level_il/function.rs:107–114  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

105 }
106
107 pub fn basic_blocks(&self) -> Array<BasicBlock<MediumLevelILBlock>> {
108 let mut count = 0;
109 let blocks = unsafe { BNGetMediumLevelILBasicBlockList(self.handle, &mut count) };
110 let context = MediumLevelILBlock {
111 function: self.to_owned(),
112 };
113 unsafe { Array::new(blocks, count, context) }
114 }
115
116 pub fn var_definitions(&self, var: &Variable) -> Array<MediumLevelILInstruction> {
117 let mut count = 0;

Callers

nothing calls this directly

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected