コード例 #1
0
    def navigate(self, view, offset):
        """
		``navigate`` navigates the UI to the specified virtual address

		.. note:: Despite the confusing name, ``view`` in this context is not a BinaryView but rather a string describing the different UI Views.  Check :py:attr:`view` while in different views to see examples such as ``Linear:ELF``, ``Graph:PE``.

		:param str view: virtual address to read from.
		:param int offset: address to navigate to
		:return: whether or not navigation succeeded
		:rtype: bool
		:Example:

			>>> import random
			>>> bv.navigate(bv.view, random.choice(bv.functions).start)
			True
		"""
        return core.BNNavigate(self.handle, str(view), offset)
コード例 #2
0
ファイル: filemetadata.py プロジェクト: xwlan/binaryninja-api
 def navigate(self, view, offset):
     return core.BNNavigate(self.handle, str(view), offset)
コード例 #3
0
ファイル: filemetadata.py プロジェクト: xwlan/binaryninja-api
 def offset(self, value):
     core.BNNavigate(self.handle, core.BNGetCurrentView(self.handle), value)
コード例 #4
0
ファイル: filemetadata.py プロジェクト: xwlan/binaryninja-api
 def view(self, value):
     core.BNNavigate(self.handle, str(value),
                     core.BNGetCurrentOffset(self.handle))