IDA C++ SDK 9.2
Loading...
Searching...
No Matches
undo.hpp File Reference

Go to the source code of this file.

Functions

idaman bool ida_export create_undo_point (const uchar *bytes, size_t size)
 Create a new restore point.
idaman bool ida_export get_undo_action_label (qstring *action_to_be_undone)
 Get the label of the action that will be undone.
idaman bool ida_export get_redo_action_label (qstring *action_to_be_redone)
 Get the label of the action that will be redone.
idaman bool ida_export perform_undo ()
 Perform undo.
idaman bool ida_export perform_redo ()
 Perform redo.

Function Documentation

◆ create_undo_point()

idaman bool ida_export create_undo_point ( const uchar * bytes,
size_t size )

Create a new restore point.

The user can undo to this point in the future.

Parameters
bytesbody of the record for UNDO_ACTION_START
sizesize of the record for UNDO_ACTION_START
Returns
success; fails if undo is disabled

◆ get_undo_action_label()

idaman bool ida_export get_undo_action_label ( qstring * action_to_be_undone)

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

◆ get_redo_action_label()

idaman bool ida_export get_redo_action_label ( qstring * action_to_be_redone)

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

◆ perform_undo()

idaman bool ida_export perform_undo ( )

Perform undo.

Returns
success

◆ perform_redo()

idaman bool ida_export perform_redo ( )

Perform redo.

Returns
success