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

Method get_instruction_text

python/architecture.py:1388–1400  ·  view source on GitHub ↗

``get_instruction_text`` returns a tuple containing a list of decoded InstructionTextToken objects and the bytes used at the given virtual address ``addr`` with data ``data``. .. note:: Architecture subclasses should implement this method. :param str data: a maximum of max_instruction_len

(self, data: bytes, addr: int)

Source from the content-addressed store, hash-verified

1386 raise NotImplementedError
1387
1388 def get_instruction_text(self, data: bytes, addr: int) -> Optional[Tuple[List['function.InstructionTextToken'], int]]:
1389 """
1390 ``get_instruction_text`` returns a tuple containing a list of decoded InstructionTextToken objects and the bytes used at the given virtual
1391 address ``addr`` with data ``data``.
1392
1393 .. note:: Architecture subclasses should implement this method.
1394
1395 :param str data: a maximum of max_instruction_length bytes from the binary at virtual address ``addr``
1396 :param int addr: virtual address of bytes in ``data``
1397 :return: a tuple containing the InstructionTextToken list and length of bytes decoded
1398 :rtype: tuple(list(InstructionTextToken), int)
1399 """
1400 raise NotImplementedError
1401
1402 def get_instruction_low_level_il_instruction(
1403 self, bv: 'binaryview.BinaryView', addr: int

Callers 1

_get_instruction_textMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected