7 #define EMIT_NAME emit_arm
14 { "r0", "r1", "r2", "r3", "r4" }
81 for (j = 0; j <
nargs; j++) {
84 regs[j + 1],
k ?
k + 4 :
k + 8);
147 if (strchr(
str,
',')) {
152 eprintf(
"WARNING: probably a bug?\n");
220 op =
e ?
"bge" :
"bgt";
224 op =
e ?
"ble" :
"blt";
233 op =
n ?
"bne" :
"beq";
268 case '^':
op =
"eor";
break;
269 case '&':
op =
"and";
break;
270 case '|':
op =
"orr";
break;
271 case '-':
op =
"sub";
break;
272 case '+':
op =
"add";
break;
273 case '*':
op =
"mul";
break;
274 case '/':
op =
"div";
break;
275 default:
op =
"mov";
break;
static RzILOpEffect * svc(cs_insn *insn, bool is_thumb)
const lzma_allocator const uint8_t size_t uint8_t * out
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 void rz_egg_printf(RzEgg *egg, const char *fmt,...)
RZ_API char * rz_egg_mkvar(RzEgg *egg, char *out, const char *_str, int delta)
static void emit_comment(RzEgg *egg, const char *fmt,...)
static void emit_branch(RzEgg *egg, char *b, char *g, char *e, char *n, int sz, const char *dst)
static void emit_jmp(RzEgg *egg, const char *str, int atr)
static void emit_call(RzEgg *egg, const char *str, int atr)
static char lastargs[16][32]
static void emit_init(RzEgg *egg)
static char * emit_syscall(RzEgg *egg, int num)
static void emit_frame_end(RzEgg *egg, int sz, int ctx)
static void emit_get_while_end(RzEgg *egg, char *str, const char *ctxpush, const char *label)
static void emit_trap(RzEgg *egg)
static void emit_restore_stack(RzEgg *egg, int size)
static void emit_while_end(RzEgg *egg, const char *labelback)
static void emit_get_var(RzEgg *egg, int type, char *out, int idx)
static void emit_load(RzEgg *egg, const char *dst, int sz)
static const char * emit_regs(RzEgg *egg, int idx)
static void emit_arg(RzEgg *egg, int xs, int num, const char *str)
static void emit_mathop(RzEgg *egg, int ch, int vs, int type, const char *eq, const char *p)
static void emit_syscall_args(RzEgg *egg, int nargs)
static void emit_get_result(RzEgg *egg, const char *ocn)
static void emit_set_string(RzEgg *egg, const char *dstvar, const char *str, int j)
static void emit_frame(RzEgg *egg, int sz)
static void emit_load_ptr(RzEgg *egg, const char *dst)
static void emit_equ(RzEgg *egg, const char *key, const char *value)
RZ_API void Ht_() free(HtName_(Ht) *ht)
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
#define RZ_EGG_OS_WATCHOS
RZ_API char * rz_str_newf(const char *fmt,...) RZ_PRINTF_CHECK(1
RZ_API RZ_OWN char * rz_str_escape(RZ_NONNULL const char *buf)