From a54caeeacdad4c3209301e114a6acb5312d92c28 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Wed, 19 Feb 2020 15:24:30 -0500 Subject: updates get_instruction_text documentation --- python/architecture.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/architecture.py b/python/architecture.py index d5daec55..b9001bf3 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -1455,15 +1455,15 @@ class Architecture(with_metaclass(_ArchitectureMetaClass, object)): def get_instruction_text(self, data, addr): """ - ``get_instruction_text`` returns a list of InstructionTextToken objects for the instruction at the given virtual + ``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: max_instruction_length bytes from the binary at virtual address ``addr`` :param int addr: virtual address of bytes in ``data`` - :return: an InstructionTextToken list for the current instruction - :rtype: list(InstructionTextToken) + :return: a tuple containing the InstructionTextToken list and length of bytes decoded + :rtype: tuple(list(InstructionTextToken), int) """ return self.perform_get_instruction_text(data, addr) -- cgit v1.3.1