Dict of comments (read-only)
(self)
| 681 | |
| 682 | @property |
| 683 | def comments(self) -> Dict[int, str]: |
| 684 | """Dict of comments (read-only)""" |
| 685 | count = ctypes.c_ulonglong() |
| 686 | addrs = core.BNGetCommentedAddresses(self.handle, count) |
| 687 | assert addrs is not None, "core.BNGetCommentedAddresses returned None" |
| 688 | try: |
| 689 | result = {} |
| 690 | for i in range(0, count.value): |
| 691 | result[addrs[i]] = self.get_comment_at(addrs[i]) |
| 692 | return result |
| 693 | finally: |
| 694 | core.BNFreeAddressList(addrs) |
| 695 | |
| 696 | @property |
| 697 | def tags(self) -> TagList: |
nothing calls this directly
no test coverage detected