Returns debug info parser of the given name, if it exists
(cls, value: str)
| 68 | core.BNFreeDebugInfoParserList(parsers, count.value) |
| 69 | |
| 70 | def __getitem__(cls, value: str) -> 'DebugInfoParser': |
| 71 | """Returns debug info parser of the given name, if it exists""" |
| 72 | binaryninja._init_plugins() |
| 73 | parser = core.BNGetDebugInfoParserByName(str(value)) |
| 74 | if parser is None: |
| 75 | raise KeyError(f"'{str(value)}' is not a valid debug-info parser") |
| 76 | parser_ref = core.BNNewDebugInfoParserReference(parser) |
| 77 | assert parser_ref is not None, "core.BNNewDebugInfoParserReference returned None" |
| 78 | return DebugInfoParser(parser_ref) |
| 79 | |
| 80 | @staticmethod |
| 81 | def get_parsers_for_view(view: 'binaryview.BinaryView') -> List['DebugInfoParser']: |
nothing calls this directly
no test coverage detected