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

#include <rz_egg.h>

Public Attributes

const char * arch
 
int size
 
const char * retvar
 
const char *(* regs )(RzEgg *egg, int idx)
 
void(* init )(RzEgg *egg)
 
void(* call )(RzEgg *egg, const char *addr, int ptr)
 
void(* jmp )(RzEgg *egg, const char *addr, int ptr)
 
void(* frame )(RzEgg *egg, int sz)
 
char *(* syscall )(RzEgg *egg, int num)
 
void(* trap )(RzEgg *egg)
 
void(* frame_end )(RzEgg *egg, int sz, int ctx)
 
void(* comment )(RzEgg *egg, const char *fmt,...)
 
void(* push_arg )(RzEgg *egg, int xs, int num, const char *str)
 
void(* set_string )(RzEgg *egg, const char *dstvar, const char *str, int j)
 
void(* equ )(RzEgg *egg, const char *key, const char *value)
 
void(* get_result )(RzEgg *egg, const char *ocn)
 
void(* restore_stack )(RzEgg *egg, int size)
 
void(* syscall_args )(RzEgg *egg, int nargs)
 
void(* get_var )(RzEgg *egg, int type, char *out, int idx)
 
void(* get_ar )(RzEgg *egg, char *out, int idx)
 
void(* while_end )(RzEgg *egg, const char *label)
 
void(* load )(RzEgg *egg, const char *str, int sz)
 
void(* load_ptr )(RzEgg *egg, const char *str)
 
void(* branch )(RzEgg *egg, char *b, char *g, char *e, char *n, int sz, const char *dst)
 
void(* mathop )(RzEgg *egg, int ch, int sz, int type, const char *eq, const char *p)
 
void(* get_while_end )(RzEgg *egg, char *out, const char *ctxpush, const char *label)
 

Detailed Description

Definition at line 152 of file rz_egg.h.

Member Data Documentation

◆ arch

const char* rz_egg_emit_t::arch

Definition at line 153 of file rz_egg.h.

Referenced by test_group_name.GroupTest::run(), and rz_egg_assemble_asm().

◆ branch

void(* rz_egg_emit_t::branch) (RzEgg *egg, char *b, char *g, char *e, char *n, int sz, const char *dst)

Definition at line 178 of file rz_egg.h.

◆ call

void(* rz_egg_emit_t::call) (RzEgg *egg, const char *addr, int ptr)

Definition at line 159 of file rz_egg.h.

◆ comment

void(* rz_egg_emit_t::comment) (RzEgg *egg, const char *fmt,...)

Definition at line 166 of file rz_egg.h.

Referenced by parsedatachar(), and rcc_fun().

◆ equ

void(* rz_egg_emit_t::equ) (RzEgg *egg, const char *key, const char *value)

Definition at line 169 of file rz_egg.h.

◆ frame

void(* rz_egg_emit_t::frame) (RzEgg *egg, int sz)

Definition at line 162 of file rz_egg.h.

◆ frame_end

void(* rz_egg_emit_t::frame_end) (RzEgg *egg, int sz, int ctx)

Definition at line 165 of file rz_egg.h.

◆ get_ar

void(* rz_egg_emit_t::get_ar) (RzEgg *egg, char *out, int idx)

Definition at line 174 of file rz_egg.h.

◆ get_result

void(* rz_egg_emit_t::get_result) (RzEgg *egg, const char *ocn)

Definition at line 170 of file rz_egg.h.

◆ get_var

void(* rz_egg_emit_t::get_var) (RzEgg *egg, int type, char *out, int idx)

Definition at line 173 of file rz_egg.h.

◆ get_while_end

void(* rz_egg_emit_t::get_while_end) (RzEgg *egg, char *out, const char *ctxpush, const char *label)

Definition at line 180 of file rz_egg.h.

◆ init

void(* rz_egg_emit_t::init) (RzEgg *egg)

Definition at line 158 of file rz_egg.h.

◆ jmp

void(* rz_egg_emit_t::jmp) (RzEgg *egg, const char *addr, int ptr)

Definition at line 160 of file rz_egg.h.

◆ load

void(* rz_egg_emit_t::load) (RzEgg *egg, const char *str, int sz)

Definition at line 176 of file rz_egg.h.

◆ load_ptr

void(* rz_egg_emit_t::load_ptr) (RzEgg *egg, const char *str)

Definition at line 177 of file rz_egg.h.

◆ mathop

void(* rz_egg_emit_t::mathop) (RzEgg *egg, int ch, int sz, int type, const char *eq, const char *p)

Definition at line 179 of file rz_egg.h.

◆ push_arg

void(* rz_egg_emit_t::push_arg) (RzEgg *egg, int xs, int num, const char *str)

Definition at line 167 of file rz_egg.h.

◆ regs

const char*(* rz_egg_emit_t::regs) (RzEgg *egg, int idx)

Definition at line 157 of file rz_egg.h.

◆ restore_stack

void(* rz_egg_emit_t::restore_stack) (RzEgg *egg, int size)

Definition at line 171 of file rz_egg.h.

◆ retvar

const char* rz_egg_emit_t::retvar

Definition at line 155 of file rz_egg.h.

◆ set_string

void(* rz_egg_emit_t::set_string) (RzEgg *egg, const char *dstvar, const char *str, int j)

Definition at line 168 of file rz_egg.h.

◆ size

int rz_egg_emit_t::size

Definition at line 154 of file rz_egg.h.

◆ syscall

char*(* rz_egg_emit_t::syscall) (RzEgg *egg, int num)

Definition at line 163 of file rz_egg.h.

Referenced by rz_egg_syscall().

◆ syscall_args

void(* rz_egg_emit_t::syscall_args) (RzEgg *egg, int nargs)

Definition at line 172 of file rz_egg.h.

◆ trap

void(* rz_egg_emit_t::trap) (RzEgg *egg)

Definition at line 164 of file rz_egg.h.

◆ while_end

void(* rz_egg_emit_t::while_end) (RzEgg *egg, const char *label)

Definition at line 175 of file rz_egg.h.


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