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

Method project

python/project.py:86–97  ·  view source on GitHub ↗

Get the project that owns this file :return: Project that owns this file

(self)

Source from the content-addressed store, hash-verified

84
85 @property
86 def project(self) -> 'Project':
87 """
88 Get the project that owns this file
89
90 :return: Project that owns this file
91 """
92 proj_handle = core.BNProjectFileGetProject(self._handle)
93
94 if proj_handle is None:
95 raise ProjectException("Failed to get project for file")
96
97 return Project(handle=proj_handle)
98
99 @property
100 def path_on_disk(self) -> str:

Callers

nothing calls this directly

Calls 2

ProjectExceptionClass · 0.70
ProjectClass · 0.70

Tested by

no test coverage detected