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

Method lines

rust/src/flowgraph.rs:206–211  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

204 }
205
206 pub fn lines(&self) -> Array<DisassemblyTextLine> {
207 let mut count = 0;
208 let result = unsafe { BNGetFlowGraphNodeLines(self.handle, &mut count) };
209 assert!(!result.is_null());
210 unsafe { Array::new(result, count, ()) }
211 }
212
213 pub fn set_lines(&self, lines: impl IntoIterator<Item = DisassemblyTextLine>) {
214 // NOTE: This will create allocations and increment tag refs, we must call DisassemblyTextLine::free_raw

Callers 5

mainFunction · 0.45
apply_to_flow_graphMethod · 0.45

Calls

no outgoing calls

Tested by 1