ida_undo

Attributes

SWIG_PYTHON_LEGACY_BOOL

Functions

create_undo_point(→ bool)

Create a new restore point. The user can undo to this point in the future.

get_undo_action_label(→ str)

Get the label of the action that will be undone. This function returns the text that can be displayed in the undo menu

get_redo_action_label(→ str)

Get the label of the action that will be redone. This function returns the text that can be displayed in the redo menu

perform_undo(→ bool)

Perform undo.

perform_redo(→ bool)

Perform redo.

Module Contents

ida_undo.SWIG_PYTHON_LEGACY_BOOL
ida_undo.create_undo_point(*args) bool

Create a new restore point. The user can undo to this point in the future.

Parameters:
  • bytes – body of the record for UNDO_ACTION_START

  • size – size of the record for UNDO_ACTION_START

Returns:

success; fails if undo is disabled

ida_undo.get_undo_action_label() str

Get the label of the action that will be undone. This function returns the text that can be displayed in the undo menu

Returns:

success

ida_undo.get_redo_action_label() str

Get the label of the action that will be redone. This function returns the text that can be displayed in the redo menu

Returns:

success

ida_undo.perform_undo() bool

Perform undo.

Returns:

success

ida_undo.perform_redo() bool

Perform redo.

Returns:

success