Get the core :py:class:`binaryninja.Project` object for this Remote Project. .. note:: If the project has not been opened, it will be opened upon calling this. :return: Project instance
(self)
| 108 | |
| 109 | @property |
| 110 | def core_project(self) -> 'Project': |
| 111 | """ |
| 112 | Get the core :py:class:`binaryninja.Project` object for this Remote Project. |
| 113 | |
| 114 | .. note:: If the project has not been opened, it will be opened upon calling this. |
| 115 | |
| 116 | :return: Project instance |
| 117 | """ |
| 118 | if not self.open(): |
| 119 | raise RuntimeError("Failed to open project") |
| 120 | |
| 121 | core_handle = core.BNRemoteProjectGetCoreProject(self._handle) |
| 122 | if core_handle is None: |
| 123 | raise RuntimeError(util._last_error()) |
| 124 | return Project(handle=ctypes.cast(core_handle, ctypes.POINTER(core.BNProject))) |
| 125 | |
| 126 | @property |
| 127 | def remote(self) -> 'remote.Remote': |