All of the address ranges covered by a function
(self)
| 581 | |
| 582 | @property |
| 583 | def address_ranges(self) -> List['variable.AddressRange']: |
| 584 | """All of the address ranges covered by a function""" |
| 585 | count = ctypes.c_ulonglong(0) |
| 586 | range_list = core.BNGetFunctionAddressRanges(self.handle, count) |
| 587 | assert range_list is not None, "core.BNGetFunctionAddressRanges returned None" |
| 588 | result = [] |
| 589 | for i in range(0, count.value): |
| 590 | result.append(variable.AddressRange(range_list[i].start, range_list[i].end)) |
| 591 | core.BNFreeAddressRanges(range_list) |
| 592 | return result |
| 593 | |
| 594 | @property |
| 595 | def symbol(self) -> 'types.CoreSymbol': |
no test coverage detected