``navigate`` navigates the UI to the specified virtual address in the specified View The View name is created by combining a View type (e.g. "Graph") with a BinaryView type (e.g. "Mach-O"), separated by a colon, resulting in something like "Graph:Mach-O". :param str view_name: view name
(self, view_name: str, offset: int)
| 4420 | self._file.redo() |
| 4421 | |
| 4422 | def navigate(self, view_name: str, offset: int) -> bool: |
| 4423 | """ |
| 4424 | ``navigate`` navigates the UI to the specified virtual address in the specified View |
| 4425 | |
| 4426 | The View name is created by combining a View type (e.g. "Graph") with a BinaryView type (e.g. "Mach-O"), |
| 4427 | separated by a colon, resulting in something like "Graph:Mach-O". |
| 4428 | |
| 4429 | :param str view_name: view name |
| 4430 | :param int offset: address to navigate to |
| 4431 | :return: whether navigation succeeded |
| 4432 | :rtype: bool |
| 4433 | :Example: |
| 4434 | |
| 4435 | >>> bv.navigate(bv.view, bv.start) |
| 4436 | True |
| 4437 | >>> bv.file.existing_views |
| 4438 | ['Mach-O', 'Raw'] |
| 4439 | >>> import binaryninjaui |
| 4440 | >>> [i.getName() for i in binaryninjaui.ViewType.getTypes()] |
| 4441 | ['Graph', 'Hex', 'Linear', 'Strings', 'Types', 'Triage', 'Bytes'] |
| 4442 | >>> bv.navigate('Graph:Mach-O', bv.entry_point) |
| 4443 | True |
| 4444 | """ |
| 4445 | return self._file.navigate(view_name, offset) |
| 4446 | |
| 4447 | def read(self, addr: int, length: int) -> bytes: |
| 4448 | r""" |
no outgoing calls
no test coverage detected