15 #define RZ_EGG_INCDIR_ENV "EGG_INCDIR"
16 #define RZ_EGG_INCDIR_PATH "/lib/rizin/" RZ_VERSION "/egg"
19 #define RZ_EGG_PLUGIN_SHELLCODE 0
20 #define RZ_EGG_PLUGIN_ENCODER 1
127 #define RZ_EGG_OS_LINUX 0x5ca62a43
128 #define RZ_EGG_OS_OSX 0x0ad593a1
129 #define RZ_EGG_OS_DARWIN 0xd86d1ae2
130 #define RZ_EGG_OS_WATCHOS 0x14945c70
131 #define RZ_EGG_OS_IOS 0x0ad58830
132 #define RZ_EGG_OS_MACOS 0x5cb23c16
133 #define RZ_EGG_OS_W32 0x0ad5fbb3
134 #define RZ_EGG_OS_WINDOWS 0x05b7de9a
135 #define RZ_EGG_OS_BEOS 0x506108be
136 #define RZ_EGG_OS_FREEBSD 0x73a72944
139 #define RZ_EGG_OS_DEFAULT RZ_EGG_OS_OSX
140 #define RZ_EGG_OS_NAME "darwin"
141 #define RZ_EGG_FORMAT_DEFAULT "mach0"
143 #define RZ_EGG_OS_DEFAULT RZ_EGG_OS_W32
144 #define RZ_EGG_OS_NAME "windows"
145 #define RZ_EGG_FORMAT_DEFAULT "pe"
147 #define RZ_EGG_OS_DEFAULT RZ_EGG_OS_LINUX
148 #define RZ_EGG_OS_NAME "linux"
149 #define RZ_EGG_FORMAT_DEFAULT "elf"
202 #define rz_egg_get_shellcodes(x) x->plugins
static RzILOpEffect * cmp(cs_insn *insn, bool is_thumb)
int bits(struct state *s, int need)
const lzma_allocator const uint8_t size_t uint8_t * out
static static fork const void static count static fd const char const char static newpath const char static path const char path
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len key
RZ_API int rz_egg_shellcode(RzEgg *egg, const char *name)
RZ_API int rz_egg_run_rop(RzEgg *egg)
RZ_API void rz_egg_reset(RzEgg *egg)
RZ_API char * rz_egg_get_source(RzEgg *egg)
RZ_API char * rz_egg_to_string(RzEgg *egg)
RZ_API void rz_egg_append(RzEgg *egg, const char *src)
RZ_API void rz_egg_free(RzEgg *egg)
RZ_API void rz_egg_finalize(RzEgg *egg)
RZ_API RzEgg * rz_egg_new(void)
RZ_API bool rz_egg_patch_num(RzEgg *egg, int off, ut64 num, ut32 bits)
RZ_API bool rz_egg_load_file(RzEgg *egg, const char *file)
RZ_API char * rz_egg_option_get(RzEgg *egg, const char *key)
RZ_API int rz_egg_padding(RzEgg *egg, const char *pad)
RZ_API int rz_egg_run(RzEgg *egg)
RZ_API void rz_egg_syscall(RzEgg *egg, const char *arg,...)
RZ_API int rz_egg_add(RzEgg *a, RzEggPlugin *foo)
RZ_API int rz_egg_patch(RzEgg *egg, int off, const ut8 *buf, int len)
RZ_API void rz_egg_pattern(RzEgg *egg, int size)
RZ_API bool rz_egg_assemble_asm(RzEgg *egg, char **asm_list)
RZ_API void rz_egg_alloc(RzEgg *egg, int n)
RZ_API void rz_egg_label(RzEgg *egg, const char *name)
RZ_API void rz_egg_if(RzEgg *egg, const char *reg, char cmp, int v)
RZ_API char * rz_egg_get_assembly(RzEgg *egg)
RZ_API int rz_egg_encode(RzEgg *egg, const char *name)
RZ_API const char * rz_egg_os_as_string(int os)
RZ_API void rz_egg_printf(RzEgg *egg, const char *fmt,...)
RZ_API int rz_egg_compile(RzEgg *egg)
RZ_API RzBuffer * rz_egg_get_bin(RzEgg *egg)
RZ_API void rz_egg_option_set(RzEgg *egg, const char *key, const char *val)
RZ_API void rz_egg_load(RzEgg *egg, const char *code, int format)
RZ_API int rz_egg_include(RzEgg *egg, const char *file, int format)
RZ_API bool rz_egg_assemble(RzEgg *egg)
RZ_API bool rz_egg_setup(RzEgg *egg, const char *arch, int bits, int endian, const char *os)
RZ_API int rz_egg_raw(RzEgg *egg, const ut8 *b, int len)
RZ_API char * rz_egg_Cfile_parser(const char *file, const char *arch, const char *os, int bits)
RzEggPlugin rz_egg_plugin_exec
RZ_API void rz_egg_lang_include_path(RzEgg *egg, const char *path)
RZ_API void rz_egg_lang_init(RzEgg *egg)
RZ_API char * rz_egg_mkvar(RzEgg *egg, char *out, const char *_str, int delta)
RZ_API int rz_egg_lang_parsechar(RzEgg *egg, char c)
RZ_API void rz_egg_lang_include_init(RzEgg *egg)
RZ_API void rz_egg_lang_free(RzEgg *egg)
RzEggPlugin rz_egg_plugin_shya
RzEggPlugin rz_egg_plugin_xor
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc static sig const char static mode static oldfd struct tms static buf static getgid static geteuid const char static filename static arg static mask struct ustat static ubuf static getppid static setsid static egid sigset_t static set struct timeval struct timezone static tz fd_set fd_set fd_set struct timeval static timeout const char char static bufsiz const char static swapflags void static offset const char static length static mode static who const char struct statfs static buf unsigned unsigned num
static void pad(RzStrBuf *sb, ut32 count)
struct rz_egg_emit_t RzEggEmit
#define RZ_EGG_OS_WINDOWS
struct rz_egg_lang_t RzEggLang
struct rz_egg_plugin_t RzEggPlugin
#define RZ_EGG_OS_FREEBSD
RZ_LIB_VERSION_HEADER(rz_egg)
#define RZ_PRINTF_CHECK(fmt, dots)
void(* jmp)(RzEgg *egg, const char *addr, int ptr)
void(* set_string)(RzEgg *egg, const char *dstvar, const char *str, int j)
void(* frame_end)(RzEgg *egg, int sz, int ctx)
void(* frame)(RzEgg *egg, int sz)
void(* mathop)(RzEgg *egg, int ch, int sz, int type, const char *eq, const char *p)
void(* load)(RzEgg *egg, const char *str, int sz)
void(* get_var)(RzEgg *egg, int type, char *out, int idx)
void(* comment)(RzEgg *egg, const char *fmt,...)
void(* while_end)(RzEgg *egg, const char *label)
void(* call)(RzEgg *egg, const char *addr, int ptr)
void(* branch)(RzEgg *egg, char *b, char *g, char *e, char *n, int sz, const char *dst)
void(* load_ptr)(RzEgg *egg, const char *str)
void(* get_ar)(RzEgg *egg, char *out, int idx)
void(* get_while_end)(RzEgg *egg, char *out, const char *ctxpush, const char *label)
void(* equ)(RzEgg *egg, const char *key, const char *value)
void(* push_arg)(RzEgg *egg, int xs, int num, const char *str)
void(* syscall_args)(RzEgg *egg, int nargs)
void(* get_result)(RzEgg *egg, const char *ocn)
void(* restore_stack)(RzEgg *egg, int size)
struct rz_egg_lang_t::@276 syscalls[256]
struct rz_egg_lang_t::@277 aliases[256]
struct rz_egg_lang_t::@275 inlines[256]
char * ifelse_table[32][32]
char * nested_callname[32]
struct rz_egg_emit_t * remit
ut64(WINAPI *w32_GetEnabledXStateFeatures)()