Rizin
unix-like reverse engineering framework and cli tools
rz_core_seek_history_t Struct Reference

#include <rz_core.h>

Public Attributes

RzVector undos
 Stack of RzCoreSeekItems, allowing to "go back in time". More...
 
RzVector redos
 Stack of RzCoreSeekItems, allowing to re-do an action that was undone. More...
 
bool saved_set
 When true, the saved field is set. More...
 
RzCoreSeekItem saved_item
 Position to save in history. More...
 

Detailed Description

Keep track of the seek history, by allowing undo/redo behaviour. Each seek is saved in the undos stack (unless cfg.seek.silent is set), so you can go back to where you previously were. Once an undo is done, the previously set address is put in the redos stack, so it is possible to go back and forth. Once a new seek is performed, all redos are lost.

Definition at line 290 of file rz_core.h.

Member Data Documentation

◆ redos

RzVector rz_core_seek_history_t::redos

Stack of RzCoreSeekItems, allowing to re-do an action that was undone.

Definition at line 292 of file rz_core.h.

Referenced by add_seek_history(), rz_core_seek_free(), rz_core_seek_list(), rz_core_seek_peek(), rz_core_seek_redo(), rz_core_seek_reset(), and rz_core_seek_undo().

◆ saved_item

RzCoreSeekItem rz_core_seek_history_t::saved_item

Position to save in history.

Definition at line 294 of file rz_core.h.

Referenced by add_seek_history(), need_add2history(), and rz_core_seek_mark().

◆ saved_set

bool rz_core_seek_history_t::saved_set

When true, the saved field is set.

Definition at line 293 of file rz_core.h.

Referenced by need_add2history(), rz_core_seek_and_save(), rz_core_seek_mark(), and seek_save().

◆ undos

RzVector rz_core_seek_history_t::undos

Stack of RzCoreSeekItems, allowing to "go back in time".

Definition at line 291 of file rz_core.h.

Referenced by add_seek_history(), rz_core_seek_free(), rz_core_seek_list(), rz_core_seek_peek(), rz_core_seek_redo(), rz_core_seek_reset(), and rz_core_seek_undo().


The documentation for this struct was generated from the following file: