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

Method undo_entries

python/filemetadata.py:519–533  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

517
518 @property
519 def undo_entries(self) -> List['undo.UndoEntry']:
520 count = ctypes.c_ulonglong()
521
522 entries = core.BNGetUndoEntries(self.handle, count)
523 assert entries is not None, "core.BNGetUndoEntries returned None"
524
525 result = []
526 try:
527 for i in range(0, count.value):
528 tag_handle = core.BNNewUndoEntryReference(entries[i])
529 assert tag_handle is not None, "core.BNNewUndoEntryReference returned None"
530 result.append(undo.UndoEntry(tag_handle))
531 return result
532 finally:
533 core.BNFreeUndoEntryList(entries, count.value)
534
535 @property
536 def redo_entries(self) -> List['undo.UndoEntry']:

Callers

nothing calls this directly

Calls 2

UndoEntryMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected