Repository URL to install this package:
|
Version:
9.0~240925-3.fc42 ▾
|
/*
* Interactive disassembler (IDA).
* Copyright (c) 2005-2024 Hex-Rays SA <support@hex-rays.com>
* ALL RIGHTS RESERVED.
*
* Undo functionality.
*
* Glossary:
*
* 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.
*
*/
#ifndef _UNDO_HPP
#define _UNDO_HPP
/// Create a new restore point.
/// The user can undo to this point in the future.
/// \param bytes body of the record for UNDO_ACTION_START
/// \param size size of the record for UNDO_ACTION_START
/// \return success; fails if undo is disabled
idaman bool ida_export create_undo_point(const uchar *bytes, size_t size);
/// Perform undo.
/// \return success
idaman bool ida_export perform_undo();
/// Perform redo.
/// \return success
idaman bool ida_export perform_redo();
#endif // _UNDO_HPP