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

Method comments

python/function.py:683–694  ·  view source on GitHub ↗

Dict of comments (read-only)

(self)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 1

get_comment_atMethod · 0.95

Tested by

no test coverage detected