``get_label_for_address`` returns the LowLevelILLabel for the given Architecture ``arch`` and IL address ``addr``. :param Architecture arch: :param int addr: IL Address label to retrieve :return: the LowLevelILLabel for the given IL address :rtype: LowLevelILLabel
(self, arch: 'architecture.Architecture', addr: int)
| 5971 | core.BNAddLowLevelILLabelForAddress(self.handle, arch, addr) |
| 5972 | |
| 5973 | def get_label_for_address(self, arch: 'architecture.Architecture', addr: int) -> Optional[LowLevelILLabel]: |
| 5974 | """ |
| 5975 | ``get_label_for_address`` returns the LowLevelILLabel for the given Architecture ``arch`` and IL address ``addr``. |
| 5976 | |
| 5977 | :param Architecture arch: |
| 5978 | :param int addr: IL Address label to retrieve |
| 5979 | :return: the LowLevelILLabel for the given IL address |
| 5980 | :rtype: LowLevelILLabel |
| 5981 | """ |
| 5982 | if arch is not None: |
| 5983 | arch = arch.handle |
| 5984 | label = core.BNGetLowLevelILLabelForAddress(self.handle, arch, addr) |
| 5985 | if label is None: |
| 5986 | return None |
| 5987 | return LowLevelILLabel(label) |
| 5988 | |
| 5989 | def get_ssa_instruction_index(self, instr: InstructionIndex) -> InstructionIndex: |
| 5990 | return core.BNGetLowLevelILSSAInstructionIndex(self.handle, instr) |
no test coverage detected