(&self, label: &mut LowLevelILLabel)
| 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)] |
no test coverage detected