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

Method save

python/binaryview.py:4688–4698  ·  view source on GitHub ↗

``save`` saves the original binary file to the provided destination ``dest`` along with any modifications. :param str dest: destination path and filename of file to be written :return: True on success, False on failure :rtype: bool

(self, dest: Union['fileaccessor.FileAccessor', str])

Source from the content-addressed store, hash-verified

4686 return core.BNIsOffsetWritableSemantics(self.handle, addr)
4687
4688 def save(self, dest: Union['fileaccessor.FileAccessor', str]) -> bool:
4689 """
4690 ``save`` saves the original binary file to the provided destination ``dest`` along with any modifications.
4691
4692 :param str dest: destination path and filename of file to be written
4693 :return: True on success, False on failure
4694 :rtype: bool
4695 """
4696 if isinstance(dest, fileaccessor.FileAccessor):
4697 return core.BNSaveToFile(self.handle, dest._cb)
4698 return core.BNSaveToFilename(self.handle, str(dest))
4699
4700 def register_notification(self, notify: BinaryDataNotification) -> None:
4701 """

Callers 4

perform_saveMethod · 0.45
feature_map.pyFile · 0.45
paintMethod · 0.45
paintMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected