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

Method block_annotations

rust/src/function.rs:449–460  ·  view source on GitHub ↗
(
        &self,
        addr: u64,
        arch: Option<CoreArchitecture>,
    )

Source from the content-addressed store, hash-verified

447 }
448
449 pub fn block_annotations(
450 &self,
451 addr: u64,
452 arch: Option<CoreArchitecture>,
453 ) -> Array<Array<InstructionTextToken>> {
454 let arch = arch.unwrap_or_else(|| self.arch());
455 let mut count = 0;
456 let lines =
457 unsafe { BNGetFunctionBlockAnnotations(self.handle, arch.handle, addr, &mut count) };
458 assert!(!lines.is_null());
459 unsafe { Array::new(lines, count, ()) }
460 }
461
462 pub fn variable_name(&self, var: &Variable) -> BnString {
463 unsafe {

Callers

nothing calls this directly

Calls 1

archMethod · 0.45

Tested by

no test coverage detected