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

Method mark_label

rust/src/low_level_il/lifting.rs:1604–1615  ·  view source on GitHub ↗
(&self, label: &mut LowLevelILLabel)

Source from the content-addressed store, hash-verified

1602 }
1603
1604 pub fn mark_label(&self, label: &mut LowLevelILLabel) {
1605 use binaryninjacore_sys::BNLowLevelILMarkLabel;
1606
1607 let mut raw_label = BNLowLevelILLabel::from(*label);
1608 unsafe { BNLowLevelILMarkLabel(self.handle, &mut raw_label) };
1609 let mut new_label = LowLevelILLabel::from(raw_label);
1610 if let Some(location) = label.location {
1611 new_label.location = Some(location);
1612 self.update_label_map_for_label(&new_label);
1613 }
1614 *label = new_label;
1615 }
1616}
1617
1618#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]

Callers 1

instruction_llilMethod · 0.45

Calls 1

Tested by

no test coverage detected