Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_asm.h>
Go to the source code of this file.
Functions | |
RZ_API RzAsmOp * | rz_asm_op_new (void) |
RZ_API void | rz_asm_op_free (RzAsmOp *op) |
RZ_API void | rz_asm_op_init (RzAsmOp *op) |
RZ_API void | rz_asm_op_fini (RzAsmOp *op) |
RZ_API char * | rz_asm_op_get_hex (RzAsmOp *op) |
RZ_API char * | rz_asm_op_get_asm (RzAsmOp *op) |
RZ_API ut8 * | rz_asm_op_get_buf (RzAsmOp *op) |
RZ_API int | rz_asm_op_get_size (RzAsmOp *op) |
RZ_API void | rz_asm_op_set_asm (RzAsmOp *op, const char *str) |
RZ_API int | rz_asm_op_set_hex (RzAsmOp *op, const char *str) |
RZ_API int | rz_asm_op_set_hexbuf (RzAsmOp *op, const ut8 *buf, int len) |
RZ_API void | rz_asm_op_set_buf (RzAsmOp *op, const ut8 *buf, int len) |
Definition at line 21 of file aop.c.
References rz_buf_fini(), and rz_strbuf_fini().
Referenced by construct_rop_gadget(), ds_disassemble(), ds_free(), rz_asm_massemble(), rz_asm_mdisassemble(), rz_asm_op_free(), rz_core_analysis_op(), rz_core_asm_strsearch(), rz_core_op_str(), and setprintmode().
Definition at line 37 of file aop.c.
References NULL, rz_return_val_if_fail, and rz_strbuf_get().
Referenced by construct_rop_gadget(), core_analysis_bytes_desc(), ds_build_op_str(), ds_disassemble(), ds_highlight_word(), ds_print_comments_right(), ds_show_comments_describe(), print_rop(), rasm_disasm(), riscv_disassemble(), rz_analysis_xrefs_from_list_handler(), rz_cmd_disassembly_all_possible_opcodes_handler(), rz_cmd_disassembly_all_possible_opcodes_treeview_handler(), rz_core_analysis_bytes(), rz_core_analysis_hasrefs_to_depth(), rz_core_disasm_pdi_with_buf(), rz_core_print_disasm_all(), rz_core_print_disasm_instructions_with_buf(), and step_until_inst().
Definition at line 28 of file aop.c.
References calloc(), NULL, rz_hex_bin2str(), rz_return_val_if_fail, rz_strbuf_get(), rz_strbuf_length(), and cmd_descs_generate::str.
Referenced by ds_disassemble(), ds_print_show_bytes(), print_rop(), rasm_disasm(), rz_core_analysis_bytes(), rz_core_disasm_pdi_with_buf(), rz_core_print_disasm_all(), rz_core_visual_bit_editor(), and rz_core_visual_esil().
Definition at line 47 of file aop.c.
References len, RZ_MAX, and rz_return_val_if_fail.
Referenced by ds_disassemble(), and rz_core_analysis_bytes().
Definition at line 15 of file aop.c.
References memset().
Referenced by rz_asm_disassemble(), rz_asm_massemble(), rz_asm_mdisassemble(), rz_core_analysis_op(), and setprintmode().
Definition at line 53 of file aop.c.
References rz_return_if_fail, rz_strbuf_set(), and cmd_descs_generate::str.
Referenced by asm_pic_disassemble(), decompile_ps(), decompile_vle(), decompile_vm(), disassemble(), ds_disassemble(), rasm_disasm(), riscv_disassemble(), rz_asm_assemble(), rz_asm_disassemble(), rz_core_analysis_bytes(), rz_core_disasm_instruction(), tms320_disassemble(), and z80Disass().
Definition at line 83 of file aop.c.
References len, rz_asm_op_set_hexbuf(), rz_return_if_fail, and rz_strbuf_setbin().
Referenced by assemble(), rz_asm_assemble(), rz_asm_disassemble(), rz_asm_pseudo_byte(), and rz_asm_pseudo_fill().
Definition at line 58 of file aop.c.
References free(), len, rz_hex_str2bin(), rz_strbuf_setbin(), cmd_descs_generate::str, and strdup().
Referenced by rz_asm_massemble(), and rz_asm_op_set_hexbuf().
Definition at line 71 of file aop.c.
References free(), hex, len, malloc(), rz_asm_op_set_hex(), rz_hex_bin2str(), and rz_return_val_if_fail.
Referenced by ds_disassemble(), and rz_asm_op_set_buf().