Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | FLG(x) RZ_ANALYSIS_ESIL_FLAG_##x |
#define | cpuflag(x, y) |
#define | ESIL_LOG(fmtstr, ...) |
#define | OP(v, w, x, y, z) rz_analysis_esil_set_op(esil, v, w, x, y, z) |
#define | OT_UNK RZ_ANALYSIS_ESIL_OP_TYPE_UNKNOWN |
#define | OT_CTR RZ_ANALYSIS_ESIL_OP_TYPE_CONTROL_FLOW |
#define | OT_MATH RZ_ANALYSIS_ESIL_OP_TYPE_MATH |
#define | OT_REGW RZ_ANALYSIS_ESIL_OP_TYPE_REG_WRITE |
#define | OT_MEMW RZ_ANALYSIS_ESIL_OP_TYPE_MEM_WRITE |
#define | OT_MEMR RZ_ANALYSIS_ESIL_OP_TYPE_MEM_READ |
#define cpuflag | ( | x, | |
y | |||
) |
#define ESIL_LOG | ( | fmtstr, | |
... | |||
) |
#define OT_CTR RZ_ANALYSIS_ESIL_OP_TYPE_CONTROL_FLOW |
#define OT_MATH RZ_ANALYSIS_ESIL_OP_TYPE_MATH |
#define OT_MEMR RZ_ANALYSIS_ESIL_OP_TYPE_MEM_READ |
#define OT_MEMW RZ_ANALYSIS_ESIL_OP_TYPE_MEM_WRITE |
#define OT_REGW RZ_ANALYSIS_ESIL_OP_TYPE_REG_WRITE |
#define OT_UNK RZ_ANALYSIS_ESIL_OP_TYPE_UNKNOWN |
|
static |
Definition at line 2984 of file esil.c.
References rz_analysis_esil_t::address, rz_analysis_esil_t::cmd, and cmd.
Referenced by rz_analysis_esil_parse().
|
static |
Definition at line 200 of file esil.c.
References addr, rz_analysis_esil_t::analysis, rz_analysis_archinfo(), and RZ_ANALYSIS_ARCHINFO_DATA_ALIGN.
Referenced by internal_esil_mem_read(), internal_esil_mem_read_no_null(), internal_esil_mem_write(), and rz_analysis_esil_mem_read().
|
static |
Definition at line 1680 of file esil.c.
References d, dst, ESIL_LOG, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1696 of file esil.c.
References rz_analysis_esil_t::cur, d, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 732 of file esil.c.
References rz_analysis_esil_t::address, rz_analysis_esil_pushnum(), and rz_return_val_if_fail.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1355 of file esil.c.
References dst, ESIL_LOG, free(), num, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 845 of file esil.c.
References rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, num, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1266 of file esil.c.
References rz_analysis_esil_t::address, ESIL_LOG, free(), mask, PFMT64d, PFMT64x, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_size(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), st32, st64, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1198 of file esil.c.
References rz_analysis_esil_t::address, rz_analysis_esil_t::cur, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, mask, PFMT64d, PFMT64x, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_size(), rz_analysis_esil_pop(), rz_analysis_esil_reg_write(), shift(), st32, st64, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 623 of file esil.c.
References bit, rz_analysis_esil_t::cur, free(), genmask(), mask, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_type(), RZ_ANALYSIS_ESIL_PARM_NUM, rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2734 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), free(), rz_analysis_esil_t::lastsz, num, rz_analysis_esil_t::old, rz_analysis_t::reg, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), rz_reg_get(), signed_compare_gt(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2786 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), free(), rz_analysis_esil_t::lastsz, num, rz_analysis_esil_t::old, rz_analysis_t::reg, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), rz_reg_get(), signed_compare_gt(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 973 of file esil.c.
References rz_analysis_esil_t::analysis, rz_core_bind_t::core, rz_analysis_t::coreb, ESIL_LOG, NULL, popRN(), s, rz_core_bind_t::setab, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1435 of file esil.c.
References rz_analysis_esil_t::parse_stop.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 600 of file esil.c.
References bit, rz_analysis_esil_t::cur, free(), genmask(), mask, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_type(), RZ_ANALYSIS_ESIL_PARM_NUM, rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1440 of file esil.c.
References free(), r, and rz_analysis_esil_pop().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 994 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), free(), rz_analysis_esil_t::lastsz, num, rz_analysis_esil_t::old, rz_analysis_t::reg, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_reg_get(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1783 of file esil.c.
References ESIL_LOG, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1797 of file esil.c.
References rz_analysis_esil_t::cur, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_type(), RZ_ANALYSIS_ESIL_PARM_REG, rz_analysis_esil_pop(), rz_analysis_esil_reg_write(), and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1561 of file esil.c.
References d, dst, ESIL_LOG, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), RZ_ANALYSIS_TRAP_DIVBYZERO, s, src, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1609 of file esil.c.
References rz_analysis_esil_t::cur, d, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), RZ_ANALYSIS_TRAP_DIVBYZERO, s, src, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 710 of file esil.c.
References rz_analysis_esil_t::delay, rz_analysis_esil_pushnum(), and rz_return_val_if_fail.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2657 of file esil.c.
References rz_analysis_esil_push(), rz_analysis_esil_t::stack, rz_analysis_esil_t::stackptr, and rz_analysis_esil_t::stacksize.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 761 of file esil.c.
References rz_analysis_esil_t::address, rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), ispackedreg(), rz_analysis_esil_t::lastsz, NULL, num, rz_analysis_esil_t::old, PFMT64x, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read_nocallback(), rz_analysis_esil_reg_write(), rz_str_newf(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1453 of file esil.c.
References free(), num, rz_analysis_esil_t::parse_goto, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1078 of file esil.c.
References free(), num, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_t::skip, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1716 of file esil.c.
References ESIL_LOG, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1730 of file esil.c.
References rz_analysis_esil_t::cur, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_type(), RZ_ANALYSIS_ESIL_PARM_REG, rz_analysis_esil_pop(), rz_analysis_esil_reg_write(), and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 194 of file esil.c.
References rz_analysis_esil_t::analysis, r, rz_analysis_t::reg, rz_reg_get(), rz_return_val_if_fail, and rz_reg_item_t::size.
Referenced by esil_addeq(), esil_andeq(), esil_asreq(), esil_bigger(), esil_bigger_equal(), esil_cmp(), esil_deceq(), esil_diveq(), esil_eq(), esil_inceq(), esil_lsleq(), esil_lsreq(), esil_modeq(), esil_muleq(), esil_oreq(), esil_smaller(), esil_smaller_equal(), esil_subeq(), and esil_xoreq().
|
static |
Definition at line 985 of file esil.c.
References popRN(), rz_analysis_esil_fire_interrupt(), and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 720 of file esil.c.
References rz_analysis_esil_t::jump_target_set, rz_analysis_esil_pushnum(), and rz_return_val_if_fail.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 715 of file esil.c.
References rz_analysis_esil_t::jump_target, rz_analysis_esil_pushnum(), and rz_return_val_if_fail.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1097 of file esil.c.
References dst, ESIL_LOG, free(), num, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1123 of file esil.c.
References rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, num, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1153 of file esil.c.
References dst, ESIL_LOG, free(), num, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), RZ_MIN, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1172 of file esil.c.
References rz_analysis_esil_t::address, rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, num, rz_analysis_esil_t::old, PFMT64x, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2239 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_addeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2227 of file esil.c.
References esil_mem_addeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2230 of file esil.c.
References esil_mem_addeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2233 of file esil.c.
References esil_mem_addeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2236 of file esil.c.
References esil_mem_addeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2199 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, and ut64().
Referenced by esil_mem_addeq(), esil_mem_addeq1(), esil_mem_addeq2(), esil_mem_addeq4(), and esil_mem_addeq8().
|
static |
Definition at line 2193 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_andeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2181 of file esil.c.
References esil_mem_andeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2184 of file esil.c.
References esil_mem_andeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2187 of file esil.c.
References esil_mem_andeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2190 of file esil.c.
References esil_mem_andeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2153 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, and ut64().
Referenced by esil_mem_andeq(), esil_mem_andeq1(), esil_mem_andeq2(), esil_mem_andeq4(), and esil_mem_andeq8().
|
static |
Definition at line 2534 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_deceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2522 of file esil.c.
References esil_mem_deceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2525 of file esil.c.
References esil_mem_deceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2528 of file esil.c.
References esil_mem_deceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2531 of file esil.c.
References esil_mem_deceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2496 of file esil.c.
References bits(), ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, off, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, src, and ut64().
Referenced by esil_mem_deceq(), esil_mem_deceq1(), esil_mem_deceq2(), esil_mem_deceq4(), and esil_mem_deceq8().
|
static |
Definition at line 2390 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_diveq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2378 of file esil.c.
References esil_mem_diveq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2381 of file esil.c.
References esil_mem_diveq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2384 of file esil.c.
References esil_mem_diveq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2387 of file esil.c.
References esil_mem_diveq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2344 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), RZ_ANALYSIS_TRAP_DIVBYZERO, s, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by esil_mem_diveq(), esil_mem_diveq1(), esil_mem_diveq2(), esil_mem_diveq4(), and esil_mem_diveq8().
|
static |
Definition at line 2490 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_inceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2478 of file esil.c.
References esil_mem_inceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2481 of file esil.c.
References esil_mem_inceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2484 of file esil.c.
References esil_mem_inceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2487 of file esil.c.
References esil_mem_inceq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2449 of file esil.c.
References bits(), rz_analysis_esil_t::cur, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), rz_analysis_esil_t::lastsz, NULL, off, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, src, and ut64().
Referenced by esil_mem_inceq(), esil_mem_inceq1(), esil_mem_inceq2(), esil_mem_inceq4(), and esil_mem_inceq8().
|
static |
Definition at line 2588 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_lsleq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2576 of file esil.c.
References esil_mem_lsleq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2579 of file esil.c.
References esil_mem_lsleq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2582 of file esil.c.
References esil_mem_lsleq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2585 of file esil.c.
References esil_mem_lsleq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2540 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, and ut64().
Referenced by esil_mem_lsleq(), esil_mem_lsleq1(), esil_mem_lsleq2(), esil_mem_lsleq4(), and esil_mem_lsleq8().
|
static |
Definition at line 2634 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_lsreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2622 of file esil.c.
References esil_mem_lsreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2625 of file esil.c.
References esil_mem_lsreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2628 of file esil.c.
References esil_mem_lsreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2631 of file esil.c.
References esil_mem_lsreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2594 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, and ut64().
Referenced by esil_mem_lsreq(), esil_mem_lsreq1(), esil_mem_lsreq2(), esil_mem_lsreq4(), and esil_mem_lsreq8().
|
static |
Definition at line 2338 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_modeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2326 of file esil.c.
References esil_mem_modeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2329 of file esil.c.
References esil_mem_modeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2332 of file esil.c.
References esil_mem_modeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2335 of file esil.c.
References esil_mem_modeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2291 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), RZ_ANALYSIS_TRAP_DIVBYZERO, s, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by esil_mem_modeq(), esil_mem_modeq1(), esil_mem_modeq2(), esil_mem_modeq4(), and esil_mem_modeq8().
|
static |
Definition at line 2437 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, esil_mem_muleq1(), esil_mem_muleq2(), esil_mem_muleq4(), and esil_mem_muleq8().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2424 of file esil.c.
References esil_mem_muleq_n(), and UT8_MAX.
Referenced by esil_mem_muleq(), and rz_analysis_esil_setup_ops().
|
static |
Definition at line 2427 of file esil.c.
References esil_mem_muleq_n(), and UT16_MAX.
Referenced by esil_mem_muleq(), and rz_analysis_esil_setup_ops().
|
static |
Definition at line 2430 of file esil.c.
References esil_mem_muleq_n(), and UT32_MAX.
Referenced by esil_mem_muleq(), and rz_analysis_esil_setup_ops().
|
static |
Definition at line 2433 of file esil.c.
References esil_mem_muleq_n(), and UT64_MAX.
Referenced by esil_mem_muleq(), and rz_analysis_esil_setup_ops().
|
static |
Definition at line 2396 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, and ut64().
Referenced by esil_mem_muleq1(), esil_mem_muleq2(), esil_mem_muleq4(), and esil_mem_muleq8().
|
static |
Definition at line 2101 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_oreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2089 of file esil.c.
References esil_mem_oreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2092 of file esil.c.
References esil_mem_oreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2095 of file esil.c.
References esil_mem_oreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2098 of file esil.c.
References esil_mem_oreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2061 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, and ut64().
Referenced by esil_mem_oreq(), esil_mem_oreq1(), esil_mem_oreq2(), esil_mem_oreq4(), and esil_mem_oreq8().
|
static |
Definition at line 2285 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_subeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2273 of file esil.c.
References esil_mem_subeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2276 of file esil.c.
References esil_mem_subeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2279 of file esil.c.
References esil_mem_subeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2282 of file esil.c.
References esil_mem_subeq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2245 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, and ut64().
Referenced by esil_mem_subeq(), esil_mem_subeq1(), esil_mem_subeq2(), esil_mem_subeq4(), and esil_mem_subeq8().
|
static |
Definition at line 2147 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_mem_xoreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2135 of file esil.c.
References esil_mem_xoreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2138 of file esil.c.
References esil_mem_xoreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2141 of file esil.c.
References esil_mem_xoreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2144 of file esil.c.
References esil_mem_xoreq_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2107 of file esil.c.
References bits(), d, dst, ESIL_LOG, esil_peek_n(), esil_poke_n(), free(), NULL, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_push(), rz_analysis_esil_pushnum(), s, and ut64().
Referenced by esil_mem_xoreq(), esil_mem_xoreq1(), esil_mem_xoreq2(), esil_mem_xoreq4(), and esil_mem_xoreq8().
|
static |
Definition at line 1484 of file esil.c.
References rz_analysis_esil_t::address, d, dst, ESIL_LOG, free(), PFMT64x, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), RZ_ANALYSIS_TRAP_DIVBYZERO, s, src, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1532 of file esil.c.
References rz_analysis_esil_t::cur, d, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), RZ_ANALYSIS_TRAP_DIVBYZERO, s, src, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1638 of file esil.c.
References d, dst, ESIL_LOG, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1658 of file esil.c.
References rz_analysis_esil_t::cur, d, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 802 of file esil.c.
References rz_analysis_esil_t::address, ESIL_LOG, free(), isregornum(), num, PFMT64x, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), RZ_LOG_ERROR, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 825 of file esil.c.
References ESIL_LOG, free(), NULL, num, rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 841 of file esil.c.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2639 of file esil.c.
References dup, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 660 of file esil.c.
References bit, rz_analysis_esil_t::cur, ESIL_LOG, free(), genmask(), regress::m, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_type(), RZ_ANALYSIS_ESIL_PARM_NUM, rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
|
static |
Definition at line 1393 of file esil.c.
References dst, ESIL_LOG, free(), num, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 866 of file esil.c.
References rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, num, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2013 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_peek_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1984 of file esil.c.
References esil_peek_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2004 of file esil.c.
References esil_peek_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1988 of file esil.c.
References esil_peek_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1992 of file esil.c.
References esil_peek_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1996 of file esil.c.
References esil_peek_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2000 of file esil.c.
References esil_peek_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1943 of file esil.c.
References a, addr, rz_analysis_esil_t::address, rz_analysis_esil_t::analysis, b, rz_analysis_t::big_endian, bits(), bytes, c, dst, free(), genmask(), isregornum(), rz_analysis_esil_t::lastsz, PFMT64x, rz_analysis_esil_mem_read(), rz_analysis_esil_pop(), rz_analysis_esil_push(), RZ_LOG_ERROR, rz_mem_swapendian(), rz_read_ble64(), snprintf, and ut64().
Referenced by esil_mem_addeq_n(), esil_mem_andeq_n(), esil_mem_deceq_n(), esil_mem_diveq_n(), esil_mem_inceq_n(), esil_mem_lsleq_n(), esil_mem_lsreq_n(), esil_mem_modeq_n(), esil_mem_muleq_n(), esil_mem_oreq_n(), esil_mem_subeq_n(), esil_mem_xoreq_n(), esil_peek(), esil_peek1(), esil_peek16(), esil_peek2(), esil_peek3(), esil_peek4(), and esil_peek8().
|
static |
Definition at line 2017 of file esil.c.
References a, rz_analysis_esil_t::analysis, rz_analysis_t::big_endian, count, dst, ESIL_LOG, foo, free(), i, isregornum(), PFMT64x, read(), regs, rz_analysis_esil_mem_read(), rz_analysis_esil_pop(), rz_analysis_esil_reg_write(), rz_read_ble32(), and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 646 of file esil.c.
References c1, c2, c3, rz_analysis_esil_t::cur, rz_analysis_esil_pushnum(), and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1893 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, and esil_poke_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1869 of file esil.c.
References esil_poke_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1889 of file esil.c.
References esil_poke_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1873 of file esil.c.
References esil_poke_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1877 of file esil.c.
References esil_poke_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1881 of file esil.c.
References esil_poke_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1885 of file esil.c.
References esil_poke_n().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1816 of file esil.c.
References addr, rz_analysis_esil_t::analysis, b, rz_analysis_t::big_endian, bits(), bytes, rz_analysis_esil_t::cb, rz_analysis_esil_t::cur, dst, free(), genmask(), rz_analysis_esil_callbacks_t::hook_mem_read, rz_analysis_esil_t::lastsz, n, NULL, num, rz_analysis_esil_t::old, out, rz_analysis_esil_get_parm(), rz_analysis_esil_mem_read(), rz_analysis_esil_mem_write(), rz_analysis_esil_pop(), RZ_MIN, rz_read_ble64(), rz_write_ble(), src, and ut64().
Referenced by esil_mem_addeq_n(), esil_mem_andeq_n(), esil_mem_deceq_n(), esil_mem_diveq_n(), esil_mem_inceq_n(), esil_mem_lsleq_n(), esil_mem_lsreq_n(), esil_mem_modeq_n(), esil_mem_muleq_n(), esil_mem_oreq_n(), esil_mem_subeq_n(), esil_mem_xoreq_n(), esil_poke(), esil_poke1(), esil_poke16(), esil_poke2(), esil_poke3(), esil_poke4(), and esil_poke8().
|
static |
Definition at line 1897 of file esil.c.
References rz_analysis_esil_t::analysis, b, rz_analysis_t::big_endian, count, dst, foo, free(), i, isregornum(), regs, rz_analysis_esil_get_parm_size(), rz_analysis_esil_mem_write(), rz_analysis_esil_pop(), rz_write_ble(), autogen_x86imm::tmp, rz_analysis_esil_t::trap, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1478 of file esil.c.
References dst, free(), and rz_analysis_esil_pop().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1463 of file esil.c.
References dst, free(), n, num, rz_analysis_esil_t::parse_goto, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1333 of file esil.c.
References dst, ESIL_LOG, free(), mask, num, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_size(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, st64, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1311 of file esil.c.
References dst, ESIL_LOG, free(), mask, num, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_size(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, st64, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 726 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, rz_analysis_esil_pushnum(), and rz_return_val_if_fail.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2843 of file esil.c.
References rz_analysis_esil_t::delay, ESIL_LOG, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), RZ_FREE, s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2812 of file esil.c.
References ESIL_LOG, free(), rz_analysis_esil_t::jump_target, rz_analysis_esil_t::jump_target_set, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), RZ_FREE, s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2828 of file esil.c.
References ESIL_LOG, free(), rz_analysis_esil_t::jump_target_set, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), RZ_FREE, s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 687 of file esil.c.
References rz_analysis_esil_t::cur, free(), num, rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_type(), RZ_ANALYSIS_ESIL_PARM_NUM, rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), rz_return_val_if_fail, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1585 of file esil.c.
References d, dst, ESIL_LOG, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), RZ_ANALYSIS_TRAP_DIVBYZERO, s, src, st64, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1508 of file esil.c.
References rz_analysis_esil_t::address, d, dst, ESIL_LOG, free(), PFMT64x, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), RZ_ANALYSIS_TRAP_DIVBYZERO, s, src, st64, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 582 of file esil.c.
References rz_analysis_esil_signext().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 591 of file esil.c.
References rz_analysis_esil_signext().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2708 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), free(), rz_analysis_esil_t::lastsz, num, rz_analysis_esil_t::old, rz_analysis_t::reg, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), rz_reg_get(), signed_compare_gt(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2760 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), free(), rz_analysis_esil_t::lastsz, num, rz_analysis_esil_t::old, rz_analysis_t::reg, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), rz_reg_get(), signed_compare_gt(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2009 of file esil.c.
References rz_analysis_esil_t::stackptr.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1748 of file esil.c.
References d, dst, ESIL_LOG, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1763 of file esil.c.
References rz_analysis_esil_t::cur, d, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), s, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 2664 of file esil.c.
References rz_analysis_esil_t::stack, rz_analysis_esil_t::stackptr, and autogen_x86imm::tmp.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1448 of file esil.c.
References rz_analysis_esil_t::parse_stop.
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 962 of file esil.c.
References d, ESIL_LOG, popRN(), rz_analysis_esil_fire_trap(), s, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 737 of file esil.c.
References rz_analysis_esil_t::analysis, dst, free(), rz_analysis_esil_get_parm(), rz_analysis_esil_get_parm_type(), RZ_ANALYSIS_ESIL_PARM_REG, rz_analysis_esil_pop(), rz_analysis_esil_reg_write(), rz_return_val_if_fail, src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 1374 of file esil.c.
References dst, ESIL_LOG, free(), num, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 886 of file esil.c.
References rz_analysis_esil_t::cur, dst, esil_internal_sizeof_reg(), ESIL_LOG, free(), rz_analysis_esil_t::lastsz, NULL, num, rz_analysis_esil_t::old, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_reg_read(), rz_analysis_esil_reg_write(), src, and ut64().
Referenced by rz_analysis_esil_setup_ops().
|
static |
Definition at line 595 of file esil.c.
References rz_analysis_esil_t::cur, genmask(), rz_analysis_esil_t::lastsz, and rz_analysis_esil_pushnum().
Referenced by rz_analysis_esil_setup_ops().
|
static |
evaluate an esil word and return the action to perform TODO: Use enum
here 0: continue running the 1: stop execution 2: continue in loop 3: normal continuation
Definition at line 2954 of file esil.c.
References rz_analysis_esil_t::address, ESIL_LOG, gotoWord(), rz_analysis_esil_t::parse_goto, rz_analysis_esil_t::parse_stop, PFMT64x, rz_analysis_esil_t::repeat, RZ_LOG_DEBUG, rz_return_val_if_fail, and cmd_descs_generate::str.
Referenced by rz_analysis_esil_parse().
Definition at line 21 of file esil.c.
References bits(), regress::m, ut64(), and UT64_MAX.
Referenced by esil_bf(), esil_cf(), esil_of(), esil_peek_n(), esil_poke_n(), esil_zf(), and rz_analysis_esil_new().
Definition at line 2931 of file esil.c.
References count, n, NULL, and cmd_descs_generate::str.
Referenced by evalWord().
|
static |
Definition at line 205 of file esil.c.
References addr, rz_analysis_esil_t::address, rz_analysis_esil_t::addrmask, alignCheck(), rz_analysis_esil_t::analysis, rz_analysis_esil_t::cmd, rz_analysis_esil_t::cmd_ioer, rz_analysis_esil_t::cmd_mdev, rz_io_bind_t::io, rz_analysis_t::iob, rz_analysis_esil_t::iotrap, rz_io_bind_t::is_valid_offset, len, rz_analysis_esil_t::mdev_range, rz_io_bind_t::read_at, RZ_ANALYSIS_TRAP_READ_ERR, rz_return_val_if_fail, rz_str_range_in(), rz_analysis_esil_t::trap, and rz_analysis_esil_t::trap_code.
Referenced by rz_analysis_esil_setup().
|
static |
Definition at line 237 of file esil.c.
References addr, rz_analysis_esil_t::addrmask, alignCheck(), rz_analysis_esil_t::analysis, rz_io_bind_t::io, rz_analysis_t::iob, rz_analysis_esil_t::iotrap, rz_io_bind_t::is_valid_offset, len, rz_io_bind_t::read_at, RZ_ANALYSIS_TRAP_READ_ERR, rz_return_val_if_fail, rz_analysis_esil_t::trap, and rz_analysis_esil_t::trap_code.
Referenced by rz_analysis_esil_setup().
|
static |
Definition at line 283 of file esil.c.
References addr, rz_analysis_esil_t::address, rz_analysis_esil_t::addrmask, alignCheck(), rz_analysis_esil_t::analysis, rz_analysis_esil_t::cmd, rz_analysis_esil_t::cmd_ioer, rz_analysis_esil_t::cmd_mdev, rz_io_bind_t::io, rz_analysis_t::iob, rz_analysis_esil_t::iotrap, rz_io_bind_t::is_valid_offset, len, rz_analysis_esil_t::mdev_range, rz_analysis_esil_t::nowrite, RZ_ANALYSIS_TRAP_READ_ERR, RZ_ANALYSIS_TRAP_WRITE_ERR, rz_str_range_in(), rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and rz_io_bind_t::write_at.
Referenced by rz_analysis_esil_setup().
|
static |
Definition at line 318 of file esil.c.
References addr, rz_analysis_esil_t::addrmask, rz_analysis_esil_t::analysis, rz_io_bind_t::io, rz_analysis_t::iob, rz_analysis_esil_t::iotrap, rz_io_bind_t::is_valid_offset, len, rz_analysis_esil_t::nowrite, RZ_ANALYSIS_TRAP_WRITE_ERR, rz_analysis_esil_t::trap, rz_analysis_esil_t::trap_code, and rz_io_bind_t::write_at.
Referenced by rz_analysis_esil_setup().
|
static |
Definition at line 356 of file esil.c.
References rz_analysis_esil_t::analysis, num, reg, rz_analysis_t::reg, regname(), rz_reg_get(), and rz_reg_get_value().
Referenced by rz_analysis_esil_setup().
|
static |
Definition at line 370 of file esil.c.
References rz_analysis_esil_t::analysis, num, reg, rz_analysis_t::reg, regname(), rz_reg_get(), and rz_reg_set_value().
Referenced by rz_analysis_esil_setup().
|
static |
Definition at line 381 of file esil.c.
References rz_analysis_esil_t::analysis, num, pc, reg, rz_analysis_t::reg, regname(), RZ_LOG_WARN, rz_reg_get(), rz_reg_get_name(), RZ_REG_NAME_BP, RZ_REG_NAME_PC, RZ_REG_NAME_SP, rz_reg_set_value(), rz_return_val_if_fail, and sp.
Referenced by rz_analysis_esil_setup().
|
static |
Definition at line 2858 of file esil.c.
References NULL, and rz_analysis_esil_t::ops.
Referenced by runword().
|
static |
Definition at line 37 of file esil.c.
References IS_DIGIT, NULL, num, rz_num_get(), and cmd_descs_generate::str.
Referenced by isregornum().
|
static |
Definition at line 53 of file esil.c.
References rz_analysis_esil_t::analysis, rz_reg_item_t::packed_size, rz_analysis_t::reg, rz_reg_get(), and cmd_descs_generate::str.
Referenced by esil_eq().
|
static |
Definition at line 58 of file esil.c.
References isnum(), NULL, num, rz_analysis_esil_reg_read(), and cmd_descs_generate::str.
Referenced by esil_neg(), esil_peek_n(), esil_peek_some(), esil_poke_some(), popRN(), and rz_analysis_esil_condition().
|
static |
Definition at line 68 of file esil.c.
References free(), isregornum(), n, rz_analysis_esil_pop(), and cmd_descs_generate::str.
Referenced by esil_bits(), esil_interrupt(), and esil_trap().
|
static |
Definition at line 2867 of file esil.c.
References rz_analysis_esil_t::cb, op::code, rz_analysis_esil_t::current_opstr, ESIL_LOG, rz_analysis_esil_callbacks_t::hook_command, iscommand(), NULL, rz_analysis_esil_t::parse_goto_count, rz_analysis_esil_t::parse_stop, rz_analysis_esil_push(), rz_strbuf_fini(), rz_strbuf_set(), rz_analysis_esil_t::skip, rz_analysis_esil_t::trap, and rz_analysis_esil_t::trap_code.
Referenced by rz_analysis_esil_parse(), and rz_analysis_esil_runword().
RZ_API int rz_analysis_esil_condition | ( | RzAnalysisEsil * | esil, |
const char * | str | ||
) |
Definition at line 3113 of file esil.c.
References free(), isregornum(), num, rz_analysis_esil_parse(), rz_analysis_esil_pop(), RZ_LOG_ERROR, cmd_descs_generate::str, and ut64().
Referenced by rz_core_esil_step(), and step_until_esil().
|
static |
Definition at line 132 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_esil_t::cmd, rz_analysis_esil_t::cmd_trap, rz_analysis_t::cur, rz_analysis_plugin_t::esil_trap, i, rz_return_val_if_fail, and sdb_ptr_get().
Referenced by esil_trap().
RZ_API void rz_analysis_esil_free | ( | RzAnalysisEsil * | esil | ) |
Definition at line 163 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_esil_t::cmd_intr, rz_analysis_esil_t::cmd_ioer, rz_analysis_esil_t::cmd_mdev, rz_analysis_esil_t::cmd_step, rz_analysis_esil_t::cmd_step_out, rz_analysis_esil_t::cmd_todo, rz_analysis_esil_t::cmd_trap, rz_analysis_t::cur, rz_analysis_esil_t::current_opstr, rz_analysis_t::esil, rz_analysis_plugin_t::esil_fini, free(), NULL, rz_analysis_esil_t::ops, rz_analysis_esil_interrupts_fini(), rz_analysis_esil_sources_fini(), rz_analysis_esil_stack_free(), rz_analysis_esil_trace_free(), rz_strbuf_fini(), sdb_free(), rz_analysis_esil_t::stack, rz_analysis_esil_t::stats, and rz_analysis_esil_t::trace.
Referenced by __analysis_esil_function(), cmd_aea(), core_analysis_bytes_esil(), do_syscall_search(), esil_cost(), rz_analysis_free(), rz_core_analysis_esil_deinit(), rz_core_analysis_esil_reinit(), rz_core_link_stroff(), and rz_core_visual_esil().
RZ_API int rz_analysis_esil_get_parm | ( | RzAnalysisEsil * | esil, |
const char * | str, | ||
ut64 * | num | ||
) |
Definition at line 483 of file esil.c.
References NULL, num, rz_analysis_esil_get_parm_size(), and cmd_descs_generate::str.
Referenced by __esil_pop_argument(), do_esil_search(), esil_add(), esil_addeq(), esil_addrinfo(), esil_and(), esil_andeq(), esil_asr(), esil_asreq(), esil_bf(), esil_bigger(), esil_bigger_equal(), esil_cf(), esil_cmp(), esil_dec(), esil_deceq(), esil_div(), esil_diveq(), esil_eq(), esil_goto(), esil_if(), esil_inc(), esil_inceq(), esil_lsl(), esil_lsleq(), esil_lsr(), esil_lsreq(), esil_mem_addeq_n(), esil_mem_andeq_n(), esil_mem_deceq_n(), esil_mem_diveq_n(), esil_mem_inceq_n(), esil_mem_lsleq_n(), esil_mem_lsreq_n(), esil_mem_modeq_n(), esil_mem_muleq_n(), esil_mem_oreq_n(), esil_mem_subeq_n(), esil_mem_xoreq_n(), esil_mod(), esil_modeq(), esil_mul(), esil_muleq(), esil_neg(), esil_num(), esil_of(), esil_or(), esil_oreq(), esil_poke_n(), esil_repeat(), esil_rol(), esil_ror(), esil_set_delay_slot(), esil_set_jump_target(), esil_set_jump_target_set(), esil_sf(), esil_signed_div(), esil_signed_mod(), esil_smaller(), esil_smaller_equal(), esil_sub(), esil_subeq(), esil_weak_eq(), esil_xor(), esil_xoreq(), gb_custom_daa(), and rz_analysis_esil_signext().
RZ_API int rz_analysis_esil_get_parm_size | ( | RzAnalysisEsil * | esil, |
const char * | str, | ||
ut64 * | num, | ||
int * | size | ||
) |
Definition at line 455 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, ESIL_LOG, NULL, num, rz_analysis_esil_t::parse_stop, rz_analysis_esil_get_parm_type(), RZ_ANALYSIS_ESIL_PARM_NUM, RZ_ANALYSIS_ESIL_PARM_REG, rz_analysis_esil_reg_read(), rz_num_get(), and cmd_descs_generate::str.
Referenced by esil_asr(), esil_asreq(), esil_poke_some(), esil_rol(), esil_ror(), and rz_analysis_esil_get_parm().
RZ_API int rz_analysis_esil_get_parm_type | ( | RzAnalysisEsil * | esil, |
const char * | str | ||
) |
Definition at line 430 of file esil.c.
References rz_analysis_esil_t::analysis, i, IS_DIGIT, len, rz_analysis_t::reg, RZ_ANALYSIS_ESIL_PARM_INVALID, RZ_ANALYSIS_ESIL_PARM_NUM, RZ_ANALYSIS_ESIL_PARM_REG, rz_reg_get(), and cmd_descs_generate::str.
Referenced by esil_bf(), esil_cf(), esil_deceq(), esil_inceq(), esil_of(), esil_sf(), esil_weak_eq(), and rz_analysis_esil_get_parm_size().
Definition at line 259 of file esil.c.
References addr, rz_analysis_esil_t::addrmask, alignCheck(), rz_analysis_esil_t::cb, rz_analysis_esil_callbacks_t::hook_mem_read, rz_analysis_esil_t::iotrap, len, rz_analysis_esil_callbacks_t::mem_read, RZ_ANALYSIS_TRAP_READ_ERR, rz_return_val_if_fail, rz_analysis_esil_t::trap, and rz_analysis_esil_t::trap_code.
Referenced by avr_custom_spm_page_write(), esil_peek_n(), esil_peek_some(), and esil_poke_n().
RZ_API int rz_analysis_esil_mem_write | ( | RzAnalysisEsil * | esil, |
ut64 | addr, | ||
const ut8 * | buf, | ||
int | len | ||
) |
Definition at line 341 of file esil.c.
References addr, rz_analysis_esil_t::addrmask, rz_analysis_esil_t::cb, rz_analysis_esil_callbacks_t::hook_mem_write, len, and rz_analysis_esil_callbacks_t::mem_write.
Referenced by avr_custom_spm_page_erase(), avr_custom_spm_page_fill(), avr_custom_spm_page_write(), esil_poke_n(), and esil_poke_some().
Definition at line 85 of file esil.c.
References rz_analysis_esil_t::addrmask, calloc(), rz_analysis_esil_t::current_opstr, esil_ops_free(), free(), genmask(), rz_analysis_esil_t::iotrap, NULL, rz_analysis_esil_t::ops, rz_analysis_esil_t::parse_goto_count, RZ_ANALYSIS_ESIL_GOTO_LIMIT, rz_analysis_esil_interrupts_init(), rz_analysis_esil_sources_init(), RZ_NEW0, rz_strbuf_init(), rz_analysis_esil_t::stack, rz_analysis_esil_t::stacksize, and rz_analysis_esil_t::verbose.
Referenced by cmd_aea(), cmd_analysis_esil(), core_esil_init(), do_esil_search(), do_syscall_search(), ds_print_esil_analysis_init(), esil_cost(), initializeEsil(), rz_core_analysis_esil_emulate(), rz_core_link_stroff(), rz_core_visual_esil(), and rz_debug_esil_stepi().
RZ_API bool rz_analysis_esil_parse | ( | RzAnalysisEsil * | esil, |
const char * | str | ||
) |
Definition at line 2998 of file esil.c.
References __stepOut(), rz_analysis_esil_t::address, rz_analysis_esil_t::analysis, rz_analysis_esil_t::cmd, rz_core_bind_t::cmd, rz_analysis_esil_t::cmd_step, rz_analysis_esil_t::cmd_step_out, rz_analysis_esil_t::cmd_todo, rz_core_bind_t::core, rz_analysis_t::coreb, rz_analysis_t::esil_goto_limit, ESIL_LOG, evalWord(), loop, rz_analysis_esil_t::parse_goto, rz_analysis_esil_t::parse_goto_count, rz_analysis_esil_t::parse_stop, rz_analysis_esil_t::repeat, repeat(), runword(), RZ_ANALYSIS_ESIL_GOTO_LIMIT, rz_return_val_if_fail, RZ_STR_ISNOTEMPTY, rz_core_bind_t::setab, rz_analysis_esil_t::skip, cmd_descs_generate::str, and rz_analysis_esil_t::trap.
Referenced by __analysis_esil_function(), __esil_step(), cmd_aea(), cmd_analysis_esil(), do_esil_search(), ds_pre_emulation(), ds_print_esil_analysis(), esil_cost(), getpcfromstack(), rz_analysis_esil_condition(), rz_analysis_esil_trace_op(), rz_core_analysis_esil(), rz_core_analysis_esil_emulate(), rz_core_disasm_pde(), rz_core_esil_step(), and rz_debug_esil_stepi().
RZ_API char* rz_analysis_esil_pop | ( | RzAnalysisEsil * | esil | ) |
Definition at line 422 of file esil.c.
References NULL, rz_return_val_if_fail, rz_analysis_esil_t::stack, and rz_analysis_esil_t::stackptr.
Referenced by __esil_pop_argument(), do_esil_search(), esil_add(), esil_addeq(), esil_addrinfo(), esil_and(), esil_andeq(), esil_asr(), esil_asreq(), esil_bf(), esil_bigger(), esil_bigger_equal(), esil_cf(), esil_clear(), esil_cmp(), esil_dec(), esil_deceq(), esil_div(), esil_diveq(), esil_eq(), esil_goto(), esil_if(), esil_inc(), esil_inceq(), esil_lsl(), esil_lsleq(), esil_lsr(), esil_lsreq(), esil_mem_addeq_n(), esil_mem_andeq_n(), esil_mem_deceq_n(), esil_mem_diveq_n(), esil_mem_inceq_n(), esil_mem_lsleq_n(), esil_mem_lsreq_n(), esil_mem_modeq_n(), esil_mem_muleq_n(), esil_mem_oreq_n(), esil_mem_subeq_n(), esil_mem_xoreq_n(), esil_mod(), esil_modeq(), esil_mul(), esil_muleq(), esil_neg(), esil_negeq(), esil_num(), esil_of(), esil_or(), esil_oreq(), esil_peek_n(), esil_peek_some(), esil_poke_n(), esil_poke_some(), esil_pop(), esil_repeat(), esil_rol(), esil_ror(), esil_set_delay_slot(), esil_set_jump_target(), esil_set_jump_target_set(), esil_sf(), esil_signed_div(), esil_signed_mod(), esil_smaller(), esil_smaller_equal(), esil_sub(), esil_subeq(), esil_weak_eq(), esil_xor(), esil_xoreq(), gb_custom_daa(), popRN(), rz_analysis_esil_condition(), and rz_analysis_esil_signext().
RZ_API bool rz_analysis_esil_push | ( | RzAnalysisEsil * | esil, |
const char * | str | ||
) |
Definition at line 414 of file esil.c.
References rz_analysis_esil_t::stack, rz_analysis_esil_t::stackptr, rz_analysis_esil_t::stacksize, cmd_descs_generate::str, and strdup().
Referenced by esil_dup(), esil_mem_addeq_n(), esil_mem_andeq_n(), esil_mem_deceq_n(), esil_mem_diveq_n(), esil_mem_inceq_n(), esil_mem_lsleq_n(), esil_mem_lsreq_n(), esil_mem_modeq_n(), esil_mem_muleq_n(), esil_mem_oreq_n(), esil_mem_subeq_n(), esil_mem_xoreq_n(), esil_peek_n(), runword(), and rz_analysis_esil_pushnum().
RZ_API bool rz_analysis_esil_pushnum | ( | RzAnalysisEsil * | esil, |
ut64 | num | ||
) |
Definition at line 408 of file esil.c.
References num, PFMT64x, rz_analysis_esil_push(), snprintf, and cmd_descs_generate::str.
Referenced by esil_add(), esil_address(), esil_addrinfo(), esil_and(), esil_asr(), esil_bf(), esil_bigger(), esil_bigger_equal(), esil_cf(), esil_dec(), esil_div(), esil_ds(), esil_inc(), esil_js(), esil_jt(), esil_lsl(), esil_lsr(), esil_mem_addeq_n(), esil_mem_andeq_n(), esil_mem_deceq_n(), esil_mem_diveq_n(), esil_mem_inceq_n(), esil_mem_lsleq_n(), esil_mem_lsreq_n(), esil_mem_modeq_n(), esil_mem_muleq_n(), esil_mem_oreq_n(), esil_mem_subeq_n(), esil_mem_xoreq_n(), esil_mod(), esil_mul(), esil_neg(), esil_num(), esil_of(), esil_or(), esil_pf(), esil_repeat(), esil_rol(), esil_ror(), esil_rs(), esil_sf(), esil_signed_div(), esil_signed_mod(), esil_smaller(), esil_smaller_equal(), esil_sub(), esil_xor(), esil_zf(), gb_custom_daa(), and rz_analysis_esil_signext().
RZ_API int rz_analysis_esil_reg_read | ( | RzAnalysisEsil * | esil, |
const char * | regname, | ||
ut64 * | num, | ||
int * | size | ||
) |
Definition at line 507 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::bits, rz_analysis_esil_t::cb, rz_analysis_esil_callbacks_t::hook_reg_read, num, rz_analysis_esil_callbacks_t::reg_read, regname(), and ut64().
Referenced by avr_custom_des(), avr_custom_spm_page_write(), ds_print_esil_analysis(), esil_addeq(), esil_andeq(), esil_diveq(), esil_lsleq(), esil_lsreq(), esil_modeq(), esil_muleq(), esil_negeq(), esil_oreq(), esil_subeq(), esil_xoreq(), gb_custom_daa(), INST_HANDLER(), isregornum(), rz_analysis_esil_get_parm_size(), and rz_analysis_esil_reg_read_nocallback().
RZ_API int rz_analysis_esil_reg_read_nocallback | ( | RzAnalysisEsil * | esil, |
const char * | regname, | ||
ut64 * | num, | ||
int * | size | ||
) |
Definition at line 498 of file esil.c.
References rz_analysis_esil_t::cb, rz_analysis_esil_callbacks_t::hook_reg_read, NULL, num, regname(), and rz_analysis_esil_reg_read().
Referenced by esil_eq().
RZ_API int rz_analysis_esil_reg_write | ( | RzAnalysisEsil * | esil, |
const char * | dst, | ||
ut64 | num | ||
) |
Definition at line 487 of file esil.c.
References rz_analysis_esil_t::cb, dst, rz_analysis_esil_callbacks_t::hook_reg_write, num, and rz_analysis_esil_callbacks_t::reg_write.
Referenced by avr_custom_des(), esil_addeq(), esil_andeq(), esil_asreq(), esil_deceq(), esil_diveq(), esil_eq(), esil_inceq(), esil_lsleq(), esil_lsreq(), esil_modeq(), esil_muleq(), esil_negeq(), esil_oreq(), esil_peek_some(), esil_subeq(), esil_weak_eq(), esil_xoreq(), and rz_analysis_esil_signext().
RZ_API bool rz_analysis_esil_runword | ( | RzAnalysisEsil * | esil, |
const char * | word | ||
) |
RZ_API bool rz_analysis_esil_set_op | ( | RzAnalysisEsil * | esil, |
const char * | op, | ||
RzAnalysisEsilOpCb | code, | ||
ut32 | push, | ||
ut32 | pop, | ||
ut32 | type | ||
) |
Definition at line 110 of file esil.c.
References code, rz_analysis_esil_operation_t::code, free(), NULL, rz_analysis_esil_t::ops, rz_analysis_esil_operation_t::pop, rz_analysis_esil_operation_t::push, RZ_LOG_ERROR, RZ_NEW, rz_return_val_if_fail, RZ_STR_ISNOTEMPTY, type, and rz_analysis_esil_operation_t::type.
Referenced by do_esil_search(), esil_gb_init(), and rz_avr_esil_init().
RZ_API bool rz_analysis_esil_set_pc | ( | RzAnalysisEsil * | esil, |
ut64 | addr | ||
) |
Definition at line 155 of file esil.c.
References addr, and rz_analysis_esil_t::address.
Referenced by cmd_analysis_esil(), do_esil_search(), ds_pre_emulation(), ds_print_esil_analysis(), getpcfromstack(), rz_analysis_function_type_matching_handler(), rz_core_analysis_esil(), rz_core_analysis_types_propagation(), rz_core_disasm_pde(), rz_core_esil_step(), rz_core_visual_esil(), and rz_debug_esil_stepi().
RZ_API bool rz_analysis_esil_setup | ( | RzAnalysisEsil * | esil, |
RzAnalysis * | analysis, | ||
int | romem, | ||
int | stats, | ||
int | nonull | ||
) |
Definition at line 3298 of file esil.c.
References rz_analysis_esil_t::analysis, rz_analysis_esil_t::cb, rz_analysis_t::cur, rz_analysis_t::esil_goto_limit, rz_analysis_plugin_t::esil_init, internal_esil_mem_read(), internal_esil_mem_read_no_null(), internal_esil_mem_write(), internal_esil_mem_write_no_null(), internal_esil_reg_read(), internal_esil_reg_write(), internal_esil_reg_write_no_null(), rz_analysis_esil_callbacks_t::mem_read, rz_analysis_esil_callbacks_t::mem_write, rz_analysis_esil_t::parse_goto_count, rz_analysis_esil_callbacks_t::reg_read, rz_analysis_esil_callbacks_t::reg_write, rz_analysis_esil_mem_ro(), rz_analysis_esil_setup_ops(), rz_analysis_esil_stats(), rz_return_val_if_fail, rz_analysis_esil_t::trap, and rz_analysis_esil_t::trap_code.
Referenced by cmd_aea(), cmd_analysis_esil(), core_esil_init(), do_esil_search(), ds_print_esil_analysis_init(), esil_cost(), initializeEsil(), rz_core_analysis_esil_emulate(), and rz_core_link_stroff().
|
static |
Definition at line 3139 of file esil.c.
References esil_add(), esil_addeq(), esil_address(), esil_and(), esil_andeq(), esil_asr(), esil_asreq(), esil_bf(), esil_bigger(), esil_bigger_equal(), esil_bits(), esil_break(), esil_cf(), esil_clear(), esil_cmp(), esil_dec(), esil_deceq(), esil_div(), esil_diveq(), esil_ds(), esil_dup(), esil_eq(), esil_goto(), esil_if(), esil_inc(), esil_inceq(), esil_interrupt(), esil_js(), esil_jt(), esil_lsl(), esil_lsleq(), esil_lsr(), esil_lsreq(), esil_mem_addeq(), esil_mem_addeq1(), esil_mem_addeq2(), esil_mem_addeq4(), esil_mem_addeq8(), esil_mem_andeq(), esil_mem_andeq1(), esil_mem_andeq2(), esil_mem_andeq4(), esil_mem_andeq8(), esil_mem_deceq(), esil_mem_deceq1(), esil_mem_deceq2(), esil_mem_deceq4(), esil_mem_deceq8(), esil_mem_diveq(), esil_mem_diveq1(), esil_mem_diveq2(), esil_mem_diveq4(), esil_mem_diveq8(), esil_mem_inceq(), esil_mem_inceq1(), esil_mem_inceq2(), esil_mem_inceq4(), esil_mem_inceq8(), esil_mem_lsleq(), esil_mem_lsleq1(), esil_mem_lsleq2(), esil_mem_lsleq4(), esil_mem_lsleq8(), esil_mem_lsreq(), esil_mem_lsreq1(), esil_mem_lsreq2(), esil_mem_lsreq4(), esil_mem_lsreq8(), esil_mem_modeq(), esil_mem_modeq1(), esil_mem_modeq2(), esil_mem_modeq4(), esil_mem_modeq8(), esil_mem_muleq(), esil_mem_muleq1(), esil_mem_muleq2(), esil_mem_muleq4(), esil_mem_muleq8(), esil_mem_oreq(), esil_mem_oreq1(), esil_mem_oreq2(), esil_mem_oreq4(), esil_mem_oreq8(), esil_mem_subeq(), esil_mem_subeq1(), esil_mem_subeq2(), esil_mem_subeq4(), esil_mem_subeq8(), esil_mem_xoreq(), esil_mem_xoreq1(), esil_mem_xoreq2(), esil_mem_xoreq4(), esil_mem_xoreq8(), esil_mod(), esil_modeq(), esil_mul(), esil_muleq(), esil_neg(), esil_negeq(), esil_nop(), esil_num(), esil_of(), esil_or(), esil_oreq(), esil_peek(), esil_peek1(), esil_peek16(), esil_peek2(), esil_peek3(), esil_peek4(), esil_peek8(), esil_peek_some(), esil_pf(), esil_poke(), esil_poke1(), esil_poke16(), esil_poke2(), esil_poke3(), esil_poke4(), esil_poke8(), esil_poke_some(), esil_pop(), esil_repeat(), esil_rol(), esil_ror(), esil_rs(), esil_set_delay_slot(), esil_set_jump_target(), esil_set_jump_target_set(), esil_sf(), esil_signed_div(), esil_signed_mod(), esil_signext(), esil_signexteq(), esil_smaller(), esil_smaller_equal(), esil_stack(), esil_sub(), esil_subeq(), esil_swap(), esil_todo(), esil_trap(), esil_weak_eq(), esil_xor(), esil_xoreq(), esil_zf(), OP, OT_CTR, OT_MATH, OT_MEMR, OT_MEMW, OT_REGW, and OT_UNK.
Referenced by rz_analysis_esil_setup().
RZ_API int rz_analysis_esil_signext | ( | RzAnalysisEsil * | esil, |
bool | assign | ||
) |
Definition at line 529 of file esil.c.
References dst, ESIL_LOG, free(), regress::m, rz_analysis_esil_get_parm(), rz_analysis_esil_pop(), rz_analysis_esil_pushnum(), rz_analysis_esil_reg_write(), src, ut64(), and UT64_MAX.
Referenced by esil_signext(), and esil_signexteq().
RZ_API void rz_analysis_esil_stack_free | ( | RzAnalysisEsil * | esil | ) |
Definition at line 3103 of file esil.c.
References i, RZ_FREE, rz_analysis_esil_t::stack, and rz_analysis_esil_t::stackptr.
Referenced by __analysis_esil_function(), cmd_aea(), cmd_analysis_esil(), do_esil_search(), ds_print_esil_analysis(), getpcfromstack(), rz_analysis_esil_free(), rz_analysis_esil_trace_op(), rz_core_analysis_esil(), rz_core_esil_step(), and rz_debug_esil_stepi().
Definition at line 1412 of file esil.c.
References RZ_ANALYSIS_TRAP_BREAKPOINT, RZ_ANALYSIS_TRAP_DIVBYZERO, RZ_ANALYSIS_TRAP_INVALID, RZ_ANALYSIS_TRAP_READ_ERR, RZ_ANALYSIS_TRAP_TODO, RZ_ANALYSIS_TRAP_UNALIGNED, RZ_ANALYSIS_TRAP_UNHANDLED, RZ_ANALYSIS_TRAP_WRITE_ERR, and type.
Referenced by rz_core_esil_dumpstack().
Definition at line 2685 of file esil.c.
References a, b, st16, st32, st64, and st8.
Referenced by esil_bigger(), esil_bigger_equal(), esil_smaller(), and esil_smaller_equal().