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

Method list

python/debuginfo.py:42–54  ·  view source on GitHub ↗

List all debug-info parsers (read-only)

(self)

Source from the content-addressed store, hash-verified

40class _DebugInfoParserMetaClass(type):
41 @property
42 def list(self) -> List["DebugInfoParser"]:
43 """List all debug-info parsers (read-only)"""
44 binaryninja._init_plugins()
45 count = ctypes.c_ulonglong()
46 parsers = core.BNGetDebugInfoParsers(count)
47 assert parsers is not None, "core.BNGetDebugInfoParsers returned None"
48 result = []
49 for i in range(0, count.value):
50 parser = core.BNNewDebugInfoParserReference(parsers[i])
51 assert parser is not None, "core.BNNewDebugInfoParserReference returned None"
52 result.append(DebugInfoParser(parser))
53 core.BNFreeDebugInfoParserList(parsers, count.value)
54 return result
55
56 def __iter__(self) -> Iterator["DebugInfoParser"]:
57 """Generator of all debug-info parsers"""

Callers

nothing calls this directly

Calls 2

DebugInfoParserClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected