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

Method address_ranges

python/function.py:583–592  ·  view source on GitHub ↗

All of the address ranges covered by a function

(self)

Source from the content-addressed store, hash-verified

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':

Callers 1

export_functionsFunction · 0.45

Calls 2

AddressRangeMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected