IDAPython 9.0
Loading...
Searching...
No Matches
ida_undo Namespace Reference

Detailed Description

  • undo point: a point in the undo history to which it is possible to return.
  • undo record: record in the undo history about one chunk of a change. each record has an undo code, which determines the nature of the change and the undo handler.

Functions

"bool" create_undo_point (*args)
 create_undo_point(action_name, label) -> bool Create a new restore point.
 
"qstring *" get_undo_action_label ()
 get_undo_action_label() -> str Get the label of the action that will be undone.
 
"qstring *" get_redo_action_label ()
 get_redo_action_label() -> str Get the label of the action that will be redone.
 
"bool" perform_undo ()
 perform_undo() -> bool Perform undo.
 
"bool" perform_redo ()
 perform_redo() -> bool Perform redo.
 

Function Documentation

◆ create_undo_point()

"bool" create_undo_point ( * args)

The user can undo to this point in the future.

Parameters
bytes(C++: const uchar *) body of the record for UNDO_ACTION_START
size(C++: size_t) size of the record for UNDO_ACTION_START
Returns
: success; fails if undo is disabled create_undo_point(bytes) -> bool
Parameters
bytesuchar const *

◆ get_redo_action_label()

"qstring *" get_redo_action_label ( )

This function returns the text that can be displayed in the redo menu

Returns
: success

◆ get_undo_action_label()

"qstring *" get_undo_action_label ( )

This function returns the text that can be displayed in the undo menu

Returns
: success

◆ perform_redo()

"bool" perform_redo ( )
Returns
: success

◆ perform_undo()

"bool" perform_undo ( )
Returns
: success