Rizin
unix-like reverse engineering framework and cli tools
rz_core.h File Reference
#include <rz_main.h>
#include <rz_types.h>
#include <rz_magic.h>
#include <rz_agraph.h>
#include <rz_io.h>
#include <rz_lib.h>
#include <rz_diff.h>
#include <rz_egg.h>
#include <rz_lang.h>
#include <rz_asm.h>
#include <rz_parse.h>
#include <rz_analysis.h>
#include <rz_cmd.h>
#include <rz_cons.h>
#include <rz_search.h>
#include <rz_sign.h>
#include <rz_debug.h>
#include <rz_flag.h>
#include <rz_config.h>
#include <rz_bin.h>
#include <rz_hash.h>
#include <rz_util.h>
#include <ht_uu.h>
#include <rz_util/rz_print.h>
#include <rz_crypto.h>
#include <rz_bind.h>
#include <rz_util/rz_annotated_code.h>
#include <rz_heap_glibc.h>
#include <rz_windows_heap.h>

Go to the source code of this file.

Classes

struct  rz_core_plugin_t
 
struct  rz_core_seek_undo_t
 
struct  rz_core_file_t
 
struct  rz_core_io_map_info_t
 
struct  rz_core_times_t
 
struct  rz_core_autocomplete_t
 
struct  rz_core_visual_tab_t
 
struct  rz_core_visual_t
 
struct  RzCoreGadget
 
struct  rz_core_tasks_t
 
struct  rz_core_seek_history_t
 
struct  rz_core_t
 
struct  rz_core_item_t
 
struct  rz_bin_sym_names_t
 Store some display name from RzBinSymbol. More...
 
struct  rz_analysis_disasm_text_t
 Message for pdJ More...
 

Macros

#define RZ_CORE_CMD_OK   0
 
#define RZ_CORE_CMD_INVALID   -1
 
#define RZ_CORE_CMD_EXIT   -2
 
#define RZ_CORE_BLOCKSIZE   0x100
 
#define RZ_CORE_BLOCKSIZE_MAX   0x3200000 /* 32MB */
 
#define RZ_CORE_ANALYSIS_GRAPHLINES   1
 
#define RZ_CORE_ANALYSIS_GRAPHBODY   2
 
#define RZ_CORE_ANALYSIS_GRAPHDIFF   4
 
#define RZ_CORE_ANALYSIS_JSON   8
 
#define RZ_CORE_ANALYSIS_KEYVALUE   16
 
#define RZ_CORE_ANALYSIS_JSON_FORMAT_DISASM   32
 
#define RZ_CORE_ANALYSIS_STAR   64
 
#define RZ_FLAGS_FS_CLASSES   "classes"
 
#define RZ_FLAGS_FS_FUNCTIONS   "functions"
 
#define RZ_FLAGS_FS_IMPORTS   "imports"
 
#define RZ_FLAGS_FS_RELOCS   "relocs"
 
#define RZ_FLAGS_FS_REGISTERS   "registers"
 
#define RZ_FLAGS_FS_RESOURCES   "resources"
 
#define RZ_FLAGS_FS_SECTIONS   "sections"
 
#define RZ_FLAGS_FS_SEGMENTS   "segments"
 
#define RZ_FLAGS_FS_SIGNS   "sign"
 
#define RZ_FLAGS_FS_STRINGS   "strings"
 
#define RZ_FLAGS_FS_SYMBOLS   "symbols"
 
#define RZ_FLAGS_FS_SYMBOLS_SECTIONS   "symbols.sections"
 
#define RZ_FLAGS_FS_SYSCALLS   "syscalls"
 
#define RZ_FLAGS_FS_MMIO_REGISTERS   "registers.mmio"
 
#define RZ_FLAGS_FS_MMIO_REGISTERS_EXTENDED   "registers.extended"
 
#define RZ_FLAGS_FS_PLATFORM_PORTS   "platform.ports"
 
#define RZ_FLAGS_FS_GLOBALS   "globals"
 
#define RZ_FLAGS_FS_DEBUG_MAPS   "maps"
 
#define RZ_GRAPH_FORMAT_NO   0
 
#define RZ_GRAPH_FORMAT_GMLFCN   1
 
#define RZ_GRAPH_FORMAT_JSON   2
 
#define RZ_GRAPH_FORMAT_GML   3
 
#define RZ_GRAPH_FORMAT_DOT   4
 
#define RZ_GRAPH_FORMAT_CMD   5
 
#define RZ_CONS_COLOR_DEF(x, def)   ((core->cons && core->cons->context->pal.x) ? core->cons->context->pal.x : def)
 
#define RZ_CONS_COLOR(x)   RZ_CONS_COLOR_DEF(x, "")
 
#define RTR_PROTOCOL_RAP   0
 
#define RTR_PROTOCOL_TCP   1
 
#define RTR_PROTOCOL_UDP   2
 
#define RTR_PROTOCOL_HTTP   3
 
#define RTR_PROTOCOL_UNIX   4
 
#define RTR_MAX_HOSTS   255
 
#define RZ_CORE_ASMQJMPS_NUM   10
 
#define RZ_CORE_ASMQJMPS_LETTERS   26
 
#define RZ_CORE_ASMQJMPS_MAX_LETTERS   (26 * 26 * 26 * 26 * 26)
 
#define RZ_CORE_ASMQJMPS_LEN_LETTERS   5
 

Typedefs

typedef bool(* RzCorePluginInit) (RzCore *core)
 
typedef bool(* RzCorePluginFini) (RzCore *core)
 
typedef struct rz_core_plugin_t RzCorePlugin
 
typedef struct rz_core_rtr_host_t RzCoreRtrHost
 
typedef struct rz_core_seek_undo_t RzCoreSeekItem
 
typedef struct rz_core_file_t RzCoreFile
 
typedef struct rz_core_io_map_info_t RzCoreIOMapInfo
 
typedef struct rz_core_times_t RzCoreTimes
 
typedef enum rz_core_autocomplete_types_t RzCoreAutocompleteType
 
typedef struct rz_core_autocomplete_t RzCoreAutocomplete
 
typedef struct rz_core_visual_tab_t RzCoreVisualTab
 
typedef struct rz_core_visual_t RzCoreVisual
 
typedef struct rz_core_task_t RzCoreTask
 
typedef void(* RzCoreTaskContextSwitch) (RzCoreTask *next, void *user)
 
typedef void(* RzCoreTaskBreak) (RzCoreTask *task, void *user)
 
typedef struct rz_core_tasks_t RzCoreTaskScheduler
 
typedef struct rz_core_seek_history_t RzCoreSeekHistory
 
typedef struct rz_core_item_t RzCoreItem
 
typedef int(* RzCoreSearchCallback) (RzCore *core, ut64 from, ut8 *buf, int len)
 
typedef struct rz_bin_sym_names_t RzBinSymNames
 Store some display name from RzBinSymbol. More...
 
typedef struct rz_analysis_disasm_text_t RzAnalysisDisasmText
 Message for pdJ More...
 

Enumerations

enum  RzCoreVisualMode {
  RZ_CORE_VISUAL_MODE_PX = 0 , RZ_CORE_VISUAL_MODE_PD = 1 , RZ_CORE_VISUAL_MODE_DB = 2 , RZ_CORE_VISUAL_MODE_OV = 3 ,
  RZ_CORE_VISUAL_MODE_CD = 4
}
 
enum  RzCoreWriteOp {
  RZ_CORE_WRITE_OP_BYTESWAP2 , RZ_CORE_WRITE_OP_BYTESWAP4 , RZ_CORE_WRITE_OP_BYTESWAP8 , RZ_CORE_WRITE_OP_ADD ,
  RZ_CORE_WRITE_OP_SUB , RZ_CORE_WRITE_OP_DIV , RZ_CORE_WRITE_OP_MUL , RZ_CORE_WRITE_OP_AND ,
  RZ_CORE_WRITE_OP_OR , RZ_CORE_WRITE_OP_XOR , RZ_CORE_WRITE_OP_SHIFT_LEFT , RZ_CORE_WRITE_OP_SHIFT_RIGHT
}
 
enum  RAutocompleteType { AUTOCOMPLETE_DEFAULT , AUTOCOMPLETE_MS }
 
enum  rz_core_autocomplete_types_t {
  RZ_CORE_AUTOCMPLT_DFLT = 0 , RZ_CORE_AUTOCMPLT_FLAG , RZ_CORE_AUTOCMPLT_FLSP , RZ_CORE_AUTOCMPLT_SEEK ,
  RZ_CORE_AUTOCMPLT_FCN , RZ_CORE_AUTOCMPLT_EVAL , RZ_CORE_AUTOCMPLT_MINS , RZ_CORE_AUTOCMPLT_BRKP ,
  RZ_CORE_AUTOCMPLT_MACR , RZ_CORE_AUTOCMPLT_FILE , RZ_CORE_AUTOCMPLT_THME , RZ_CORE_AUTOCMPLT_OPTN ,
  RZ_CORE_AUTOCMPLT_MS , RZ_CORE_AUTOCMPLT_SDB , RZ_CORE_AUTOCMPLT_END
}
 

Functions

 RZ_LIB_VERSION_HEADER (rz_core)
 

Macro Definition Documentation

◆ RTR_MAX_HOSTS

#define RTR_MAX_HOSTS   255

Definition at line 94 of file rz_core.h.

◆ RTR_PROTOCOL_HTTP

#define RTR_PROTOCOL_HTTP   3

Definition at line 91 of file rz_core.h.

◆ RTR_PROTOCOL_RAP

#define RTR_PROTOCOL_RAP   0

Definition at line 88 of file rz_core.h.

◆ RTR_PROTOCOL_TCP

#define RTR_PROTOCOL_TCP   1

Definition at line 89 of file rz_core.h.

◆ RTR_PROTOCOL_UDP

#define RTR_PROTOCOL_UDP   2

Definition at line 90 of file rz_core.h.

◆ RTR_PROTOCOL_UNIX

#define RTR_PROTOCOL_UNIX   4

Definition at line 92 of file rz_core.h.

◆ RZ_CONS_COLOR

#define RZ_CONS_COLOR (   x)    RZ_CONS_COLOR_DEF(x, "")

Definition at line 85 of file rz_core.h.

◆ RZ_CONS_COLOR_DEF

#define RZ_CONS_COLOR_DEF (   x,
  def 
)    ((core->cons && core->cons->context->pal.x) ? core->cons->context->pal.x : def)

Definition at line 84 of file rz_core.h.

◆ RZ_CORE_ANALYSIS_GRAPHBODY

#define RZ_CORE_ANALYSIS_GRAPHBODY   2

Definition at line 50 of file rz_core.h.

◆ RZ_CORE_ANALYSIS_GRAPHDIFF

#define RZ_CORE_ANALYSIS_GRAPHDIFF   4

Definition at line 51 of file rz_core.h.

◆ RZ_CORE_ANALYSIS_GRAPHLINES

#define RZ_CORE_ANALYSIS_GRAPHLINES   1

Definition at line 49 of file rz_core.h.

◆ RZ_CORE_ANALYSIS_JSON

#define RZ_CORE_ANALYSIS_JSON   8

Definition at line 52 of file rz_core.h.

◆ RZ_CORE_ANALYSIS_JSON_FORMAT_DISASM

#define RZ_CORE_ANALYSIS_JSON_FORMAT_DISASM   32

Definition at line 54 of file rz_core.h.

◆ RZ_CORE_ANALYSIS_KEYVALUE

#define RZ_CORE_ANALYSIS_KEYVALUE   16

Definition at line 53 of file rz_core.h.

◆ RZ_CORE_ANALYSIS_STAR

#define RZ_CORE_ANALYSIS_STAR   64

Definition at line 55 of file rz_core.h.

◆ RZ_CORE_ASMQJMPS_LEN_LETTERS

#define RZ_CORE_ASMQJMPS_LEN_LETTERS   5

Definition at line 186 of file rz_core.h.

◆ RZ_CORE_ASMQJMPS_LETTERS

#define RZ_CORE_ASMQJMPS_LETTERS   26

Definition at line 184 of file rz_core.h.

◆ RZ_CORE_ASMQJMPS_MAX_LETTERS

#define RZ_CORE_ASMQJMPS_MAX_LETTERS   (26 * 26 * 26 * 26 * 26)

Definition at line 185 of file rz_core.h.

◆ RZ_CORE_ASMQJMPS_NUM

#define RZ_CORE_ASMQJMPS_NUM   10

Definition at line 183 of file rz_core.h.

◆ RZ_CORE_BLOCKSIZE

#define RZ_CORE_BLOCKSIZE   0x100

Definition at line 46 of file rz_core.h.

◆ RZ_CORE_BLOCKSIZE_MAX

#define RZ_CORE_BLOCKSIZE_MAX   0x3200000 /* 32MB */

Definition at line 47 of file rz_core.h.

◆ RZ_CORE_CMD_EXIT

#define RZ_CORE_CMD_EXIT   -2

Definition at line 44 of file rz_core.h.

◆ RZ_CORE_CMD_INVALID

#define RZ_CORE_CMD_INVALID   -1

Definition at line 43 of file rz_core.h.

◆ RZ_CORE_CMD_OK

#define RZ_CORE_CMD_OK   0

Definition at line 42 of file rz_core.h.

◆ RZ_FLAGS_FS_CLASSES

#define RZ_FLAGS_FS_CLASSES   "classes"

Definition at line 57 of file rz_core.h.

◆ RZ_FLAGS_FS_DEBUG_MAPS

#define RZ_FLAGS_FS_DEBUG_MAPS   "maps"

Definition at line 74 of file rz_core.h.

◆ RZ_FLAGS_FS_FUNCTIONS

#define RZ_FLAGS_FS_FUNCTIONS   "functions"

Definition at line 58 of file rz_core.h.

◆ RZ_FLAGS_FS_GLOBALS

#define RZ_FLAGS_FS_GLOBALS   "globals"

Definition at line 73 of file rz_core.h.

◆ RZ_FLAGS_FS_IMPORTS

#define RZ_FLAGS_FS_IMPORTS   "imports"

Definition at line 59 of file rz_core.h.

◆ RZ_FLAGS_FS_MMIO_REGISTERS

#define RZ_FLAGS_FS_MMIO_REGISTERS   "registers.mmio"

Definition at line 70 of file rz_core.h.

◆ RZ_FLAGS_FS_MMIO_REGISTERS_EXTENDED

#define RZ_FLAGS_FS_MMIO_REGISTERS_EXTENDED   "registers.extended"

Definition at line 71 of file rz_core.h.

◆ RZ_FLAGS_FS_PLATFORM_PORTS

#define RZ_FLAGS_FS_PLATFORM_PORTS   "platform.ports"

Definition at line 72 of file rz_core.h.

◆ RZ_FLAGS_FS_REGISTERS

#define RZ_FLAGS_FS_REGISTERS   "registers"

Definition at line 61 of file rz_core.h.

◆ RZ_FLAGS_FS_RELOCS

#define RZ_FLAGS_FS_RELOCS   "relocs"

Definition at line 60 of file rz_core.h.

◆ RZ_FLAGS_FS_RESOURCES

#define RZ_FLAGS_FS_RESOURCES   "resources"

Definition at line 62 of file rz_core.h.

◆ RZ_FLAGS_FS_SECTIONS

#define RZ_FLAGS_FS_SECTIONS   "sections"

Definition at line 63 of file rz_core.h.

◆ RZ_FLAGS_FS_SEGMENTS

#define RZ_FLAGS_FS_SEGMENTS   "segments"

Definition at line 64 of file rz_core.h.

◆ RZ_FLAGS_FS_SIGNS

#define RZ_FLAGS_FS_SIGNS   "sign"

Definition at line 65 of file rz_core.h.

◆ RZ_FLAGS_FS_STRINGS

#define RZ_FLAGS_FS_STRINGS   "strings"

Definition at line 66 of file rz_core.h.

◆ RZ_FLAGS_FS_SYMBOLS

#define RZ_FLAGS_FS_SYMBOLS   "symbols"

Definition at line 67 of file rz_core.h.

◆ RZ_FLAGS_FS_SYMBOLS_SECTIONS

#define RZ_FLAGS_FS_SYMBOLS_SECTIONS   "symbols.sections"

Definition at line 68 of file rz_core.h.

◆ RZ_FLAGS_FS_SYSCALLS

#define RZ_FLAGS_FS_SYSCALLS   "syscalls"

Definition at line 69 of file rz_core.h.

◆ RZ_GRAPH_FORMAT_CMD

#define RZ_GRAPH_FORMAT_CMD   5

Definition at line 81 of file rz_core.h.

◆ RZ_GRAPH_FORMAT_DOT

#define RZ_GRAPH_FORMAT_DOT   4

Definition at line 80 of file rz_core.h.

◆ RZ_GRAPH_FORMAT_GML

#define RZ_GRAPH_FORMAT_GML   3

Definition at line 79 of file rz_core.h.

◆ RZ_GRAPH_FORMAT_GMLFCN

#define RZ_GRAPH_FORMAT_GMLFCN   1

Definition at line 77 of file rz_core.h.

◆ RZ_GRAPH_FORMAT_JSON

#define RZ_GRAPH_FORMAT_JSON   2

Definition at line 78 of file rz_core.h.

◆ RZ_GRAPH_FORMAT_NO

#define RZ_GRAPH_FORMAT_NO   0

Definition at line 76 of file rz_core.h.

Typedef Documentation

◆ RzAnalysisDisasmText

Message for pdJ

◆ RzBinSymNames

Store some display name from RzBinSymbol.

See also
rz_core_sym_name_init
rz_core_sym_name_fini

◆ RzCoreAutocomplete

◆ RzCoreAutocompleteType

◆ RzCoreFile

typedef struct rz_core_file_t RzCoreFile

◆ RzCoreIOMapInfo

Data to be stored inside RzIOMap.user to track back to its origin

◆ RzCoreItem

typedef struct rz_core_item_t RzCoreItem

◆ RzCorePlugin

◆ RzCorePluginFini

typedef bool(* RzCorePluginFini) (RzCore *core)

Definition at line 121 of file rz_core.h.

◆ RzCorePluginInit

typedef bool(* RzCorePluginInit) (RzCore *core)

Definition at line 120 of file rz_core.h.

◆ RzCoreRtrHost

Definition at line 121 of file rz_core.h.

◆ RzCoreSearchCallback

typedef int(* RzCoreSearchCallback) (RzCore *core, ut64 from, ut8 *buf, int len)

Definition at line 419 of file rz_core.h.

◆ RzCoreSeekHistory

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.

◆ RzCoreSeekItem

Represent an entry in the seek history. This is the "full state" of that point in time.

◆ RzCoreTask

typedef struct rz_core_task_t RzCoreTask

Definition at line 121 of file rz_core.h.

◆ RzCoreTaskBreak

typedef void(* RzCoreTaskBreak) (RzCoreTask *task, void *user)

Scheduler-wide callback for breaking a task.

Definition at line 264 of file rz_core.h.

◆ RzCoreTaskContextSwitch

typedef void(* RzCoreTaskContextSwitch) (RzCoreTask *next, void *user)

Scheduler-wide callback to switch any necessary context from cur to next.

Definition at line 259 of file rz_core.h.

◆ RzCoreTaskScheduler

◆ RzCoreTimes

typedef struct rz_core_times_t RzCoreTimes

◆ RzCoreVisual

◆ RzCoreVisualTab

Enumeration Type Documentation

◆ RAutocompleteType

Enumerator
AUTOCOMPLETE_DEFAULT 
AUTOCOMPLETE_MS 

Definition at line 135 of file rz_core.h.

135  {
RAutocompleteType
Definition: rz_core.h:135
@ AUTOCOMPLETE_MS
Definition: rz_core.h:137
@ AUTOCOMPLETE_DEFAULT
Definition: rz_core.h:136

◆ rz_core_autocomplete_types_t

Enumerator
RZ_CORE_AUTOCMPLT_DFLT 
RZ_CORE_AUTOCMPLT_FLAG 
RZ_CORE_AUTOCMPLT_FLSP 
RZ_CORE_AUTOCMPLT_SEEK 
RZ_CORE_AUTOCMPLT_FCN 
RZ_CORE_AUTOCMPLT_EVAL 
RZ_CORE_AUTOCMPLT_MINS 
RZ_CORE_AUTOCMPLT_BRKP 
RZ_CORE_AUTOCMPLT_MACR 
RZ_CORE_AUTOCMPLT_FILE 
RZ_CORE_AUTOCMPLT_THME 
RZ_CORE_AUTOCMPLT_OPTN 
RZ_CORE_AUTOCMPLT_MS 
RZ_CORE_AUTOCMPLT_SDB 
RZ_CORE_AUTOCMPLT_END 

Definition at line 188 of file rz_core.h.

188  {
203  // --- left as last always
@ RZ_CORE_AUTOCMPLT_FCN
Definition: rz_core.h:193
@ RZ_CORE_AUTOCMPLT_MS
Definition: rz_core.h:201
@ RZ_CORE_AUTOCMPLT_BRKP
Definition: rz_core.h:196
@ RZ_CORE_AUTOCMPLT_END
Definition: rz_core.h:204
@ RZ_CORE_AUTOCMPLT_OPTN
Definition: rz_core.h:200
@ RZ_CORE_AUTOCMPLT_MACR
Definition: rz_core.h:197
@ RZ_CORE_AUTOCMPLT_DFLT
Definition: rz_core.h:189
@ RZ_CORE_AUTOCMPLT_EVAL
Definition: rz_core.h:194
@ RZ_CORE_AUTOCMPLT_FILE
Definition: rz_core.h:198
@ RZ_CORE_AUTOCMPLT_SDB
Definition: rz_core.h:202
@ RZ_CORE_AUTOCMPLT_FLAG
Definition: rz_core.h:190
@ RZ_CORE_AUTOCMPLT_MINS
Definition: rz_core.h:195
@ RZ_CORE_AUTOCMPLT_THME
Definition: rz_core.h:199
@ RZ_CORE_AUTOCMPLT_FLSP
Definition: rz_core.h:191
@ RZ_CORE_AUTOCMPLT_SEEK
Definition: rz_core.h:192
enum rz_core_autocomplete_types_t RzCoreAutocompleteType

◆ RzCoreVisualMode

Enumerator
RZ_CORE_VISUAL_MODE_PX 

Hexadecimal view.

RZ_CORE_VISUAL_MODE_PD 

Disassembly view.

RZ_CORE_VISUAL_MODE_DB 

Debug mode.

RZ_CORE_VISUAL_MODE_OV 

Color blocks (entropy)

RZ_CORE_VISUAL_MODE_CD 

Print in string format.

Definition at line 97 of file rz_core.h.

97  {
RzCoreVisualMode
Definition: rz_core.h:97
@ RZ_CORE_VISUAL_MODE_PD
Disassembly view.
Definition: rz_core.h:99
@ RZ_CORE_VISUAL_MODE_OV
Color blocks (entropy)
Definition: rz_core.h:101
@ RZ_CORE_VISUAL_MODE_CD
Print in string format.
Definition: rz_core.h:102
@ RZ_CORE_VISUAL_MODE_DB
Debug mode.
Definition: rz_core.h:100
@ RZ_CORE_VISUAL_MODE_PX
Hexadecimal view.
Definition: rz_core.h:98

◆ RzCoreWriteOp

Enumerator
RZ_CORE_WRITE_OP_BYTESWAP2 

Swap the endianess of 2-bytes values.

RZ_CORE_WRITE_OP_BYTESWAP4 

Swap the endianess of 4-bytes values.

RZ_CORE_WRITE_OP_BYTESWAP8 

Swap the endianess of 8-bytes values.

RZ_CORE_WRITE_OP_ADD 

Write the addition of existing byte and argument value.

RZ_CORE_WRITE_OP_SUB 

Write the subtraction of existing byte and argument value.

RZ_CORE_WRITE_OP_DIV 

Write the division of existing byte and argument value.

RZ_CORE_WRITE_OP_MUL 

Write the multiplication of existing byte and argument value.

RZ_CORE_WRITE_OP_AND 

Write the bitwise-and of existing byte and argument value.

RZ_CORE_WRITE_OP_OR 

Write the bitwise-or of existing byte and argument value.

RZ_CORE_WRITE_OP_XOR 

Write the bitwise-xor of existing byte and argument value.

RZ_CORE_WRITE_OP_SHIFT_LEFT 

Write the shift left of existing byte by argument value.

RZ_CORE_WRITE_OP_SHIFT_RIGHT 

Write the shift right of existing byte and argument value.

Definition at line 105 of file rz_core.h.

105  {
118 } RzCoreWriteOp;
RzCoreWriteOp
Definition: rz_core.h:105
@ RZ_CORE_WRITE_OP_BYTESWAP8
Swap the endianess of 8-bytes values.
Definition: rz_core.h:108
@ RZ_CORE_WRITE_OP_SHIFT_LEFT
Write the shift left of existing byte by argument value.
Definition: rz_core.h:116
@ RZ_CORE_WRITE_OP_AND
Write the bitwise-and of existing byte and argument value.
Definition: rz_core.h:113
@ RZ_CORE_WRITE_OP_SHIFT_RIGHT
Write the shift right of existing byte and argument value.
Definition: rz_core.h:117
@ RZ_CORE_WRITE_OP_BYTESWAP2
Swap the endianess of 2-bytes values.
Definition: rz_core.h:106
@ RZ_CORE_WRITE_OP_OR
Write the bitwise-or of existing byte and argument value.
Definition: rz_core.h:114
@ RZ_CORE_WRITE_OP_ADD
Write the addition of existing byte and argument value.
Definition: rz_core.h:109
@ RZ_CORE_WRITE_OP_MUL
Write the multiplication of existing byte and argument value.
Definition: rz_core.h:112
@ RZ_CORE_WRITE_OP_DIV
Write the division of existing byte and argument value.
Definition: rz_core.h:111
@ RZ_CORE_WRITE_OP_BYTESWAP4
Swap the endianess of 4-bytes values.
Definition: rz_core.h:107
@ RZ_CORE_WRITE_OP_XOR
Write the bitwise-xor of existing byte and argument value.
Definition: rz_core.h:115
@ RZ_CORE_WRITE_OP_SUB
Write the subtraction of existing byte and argument value.
Definition: rz_core.h:110

Function Documentation

◆ RZ_LIB_VERSION_HEADER()

RZ_LIB_VERSION_HEADER ( rz_core  )