Rizin
unix-like reverse engineering framework and cli tools
rz_egg.h File Reference
#include <rz_asm.h>
#include <rz_lib.h>
#include <rz_util.h>
#include <rz_syscall.h>

Go to the source code of this file.

Classes

struct  rz_egg_plugin_t
 
struct  rz_egg_lang_t
 
struct  rz_egg_t
 
struct  rz_egg_emit_t
 

Macros

#define RZ_EGG_INCDIR_ENV   "EGG_INCDIR"
 
#define RZ_EGG_INCDIR_PATH   "/lib/rizin/" RZ_VERSION "/egg"
 
#define RZ_EGG_PLUGIN_SHELLCODE   0
 
#define RZ_EGG_PLUGIN_ENCODER   1
 
#define RZ_EGG_OS_LINUX   0x5ca62a43
 
#define RZ_EGG_OS_OSX   0x0ad593a1
 
#define RZ_EGG_OS_DARWIN   0xd86d1ae2
 
#define RZ_EGG_OS_WATCHOS   0x14945c70
 
#define RZ_EGG_OS_IOS   0x0ad58830
 
#define RZ_EGG_OS_MACOS   0x5cb23c16
 
#define RZ_EGG_OS_W32   0x0ad5fbb3
 
#define RZ_EGG_OS_WINDOWS   0x05b7de9a
 
#define RZ_EGG_OS_BEOS   0x506108be
 
#define RZ_EGG_OS_FREEBSD   0x73a72944
 
#define RZ_EGG_OS_DEFAULT   RZ_EGG_OS_LINUX
 
#define RZ_EGG_OS_NAME   "linux"
 
#define RZ_EGG_FORMAT_DEFAULT   "elf"
 

Typedefs

typedef struct rz_egg_plugin_t RzEggPlugin
 
typedef struct rz_egg_lang_t RzEggLang
 
typedef struct rz_egg_t RzEgg
 
typedef struct rz_egg_emit_t RzEggEmit
 

Functions

 RZ_LIB_VERSION_HEADER (rz_egg)
 

Macro Definition Documentation

◆ RZ_EGG_FORMAT_DEFAULT

#define RZ_EGG_FORMAT_DEFAULT   "elf"

Definition at line 149 of file rz_egg.h.

◆ RZ_EGG_INCDIR_ENV

#define RZ_EGG_INCDIR_ENV   "EGG_INCDIR"

Definition at line 15 of file rz_egg.h.

◆ RZ_EGG_INCDIR_PATH

#define RZ_EGG_INCDIR_PATH   "/lib/rizin/" RZ_VERSION "/egg"

Definition at line 16 of file rz_egg.h.

◆ RZ_EGG_OS_BEOS

#define RZ_EGG_OS_BEOS   0x506108be

Definition at line 135 of file rz_egg.h.

◆ RZ_EGG_OS_DARWIN

#define RZ_EGG_OS_DARWIN   0xd86d1ae2

Definition at line 129 of file rz_egg.h.

◆ RZ_EGG_OS_DEFAULT

#define RZ_EGG_OS_DEFAULT   RZ_EGG_OS_LINUX

Definition at line 147 of file rz_egg.h.

◆ RZ_EGG_OS_FREEBSD

#define RZ_EGG_OS_FREEBSD   0x73a72944

Definition at line 136 of file rz_egg.h.

◆ RZ_EGG_OS_IOS

#define RZ_EGG_OS_IOS   0x0ad58830

Definition at line 131 of file rz_egg.h.

◆ RZ_EGG_OS_LINUX

#define RZ_EGG_OS_LINUX   0x5ca62a43

Definition at line 127 of file rz_egg.h.

◆ RZ_EGG_OS_MACOS

#define RZ_EGG_OS_MACOS   0x5cb23c16

Definition at line 132 of file rz_egg.h.

◆ RZ_EGG_OS_NAME

#define RZ_EGG_OS_NAME   "linux"

Definition at line 148 of file rz_egg.h.

◆ RZ_EGG_OS_OSX

#define RZ_EGG_OS_OSX   0x0ad593a1

Definition at line 128 of file rz_egg.h.

◆ RZ_EGG_OS_W32

#define RZ_EGG_OS_W32   0x0ad5fbb3

Definition at line 133 of file rz_egg.h.

◆ RZ_EGG_OS_WATCHOS

#define RZ_EGG_OS_WATCHOS   0x14945c70

Definition at line 130 of file rz_egg.h.

◆ RZ_EGG_OS_WINDOWS

#define RZ_EGG_OS_WINDOWS   0x05b7de9a

Definition at line 134 of file rz_egg.h.

◆ RZ_EGG_PLUGIN_ENCODER

#define RZ_EGG_PLUGIN_ENCODER   1

Definition at line 20 of file rz_egg.h.

◆ RZ_EGG_PLUGIN_SHELLCODE

#define RZ_EGG_PLUGIN_SHELLCODE   0

Definition at line 19 of file rz_egg.h.

Typedef Documentation

◆ RzEgg

typedef struct rz_egg_t RzEgg

◆ RzEggEmit

typedef struct rz_egg_emit_t RzEggEmit

◆ RzEggLang

typedef struct rz_egg_lang_t RzEggLang

◆ RzEggPlugin

typedef struct rz_egg_plugin_t RzEggPlugin

Function Documentation

◆ RZ_LIB_VERSION_HEADER()

RZ_LIB_VERSION_HEADER ( rz_egg  )