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

Method __len__

python/binaryview.py:2324–2329  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2322 return self.format_description(description)
2323
2324 def __len__(self):
2325 mm_json = self.description()
2326 if 'MemoryMap' in mm_json:
2327 return len(mm_json['MemoryMap'])
2328 else:
2329 return 0
2330
2331 def __init__(self, handle: 'BinaryView'):
2332 self.handle = handle

Callers

nothing calls this directly

Calls 1

descriptionMethod · 0.95

Tested by

no test coverage detected