summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/filemetadata.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/filemetadata.py b/python/filemetadata.py
index 3f2e88ef..46a399f1 100644
--- a/python/filemetadata.py
+++ b/python/filemetadata.py
@@ -454,6 +454,15 @@ class FileMetadata(object):
return None
return binaryninja.binaryview.BinaryView(file_metadata = self, handle = view)
+ def open_project(self):
+ return core.BNOpenProject(self.handle)
+
+ def close_project(self):
+ core.BNCloseProject(self.handle)
+
+ def is_project_open(self):
+ return core.BNIsProjectOpen(self.handle)
+
@property
def existing_views(self):
length = ctypes.c_ulonglong()