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

Method save_auto_snapshot

python/binaryview.py:4220–4233  ·  view source on GitHub ↗

``save_auto_snapshot`` saves the current database to the already created file. .. note:: :py:func:`create_database` should have been called prior to executing this method :param callback progress_func: optional function to be called with the current progress and total count. :param SaveSe

(
	    self, progress_func: Optional[ProgressFuncType] = None, settings: Optional['filemetadata.SaveSettings'] = None
	)

Source from the content-addressed store, hash-verified

4218 return self._file.create_database(filename, progress_func, settings)
4219
4220 def save_auto_snapshot(
4221 self, progress_func: Optional[ProgressFuncType] = None, settings: Optional['filemetadata.SaveSettings'] = None
4222 ) -> bool:
4223 """
4224 ``save_auto_snapshot`` saves the current database to the already created file.
4225
4226 .. note:: :py:func:`create_database` should have been called prior to executing this method
4227
4228 :param callback progress_func: optional function to be called with the current progress and total count.
4229 :param SaveSettings settings: optional argument for special save options.
4230 :return: True if it successfully saved the snapshot, False otherwise
4231 :rtype: bool
4232 """
4233 return self._file.save_auto_snapshot(progress_func, settings)
4234
4235 def get_view_of_type(self, name: str) -> Optional['BinaryView']:
4236 """

Callers 2

upload_new_fileMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36