Rizin
unix-like reverse engineering framework and cli tools
|
#include <stdio.h>
#include <stdlib.h>
#include <capstone/capstone.h>
Go to the source code of this file.
Functions | |
void | print_string_hex (const char *comment, unsigned char *str, size_t len) |
static const char * | get_eflag_name (uint64_t flag) |
static const char * | get_fpu_flag_name (uint64_t flag) |
void | print_insn_detail_x86 (csh ud, cs_mode mode, cs_insn *ins) |
Definition at line 10 of file cstool_x86.c.
References NULL, X86_EFLAGS_MODIFY_AF, X86_EFLAGS_MODIFY_CF, X86_EFLAGS_MODIFY_DF, X86_EFLAGS_MODIFY_IF, X86_EFLAGS_MODIFY_NT, X86_EFLAGS_MODIFY_OF, X86_EFLAGS_MODIFY_PF, X86_EFLAGS_MODIFY_RF, X86_EFLAGS_MODIFY_SF, X86_EFLAGS_MODIFY_TF, X86_EFLAGS_MODIFY_ZF, X86_EFLAGS_PRIOR_AF, X86_EFLAGS_PRIOR_CF, X86_EFLAGS_PRIOR_DF, X86_EFLAGS_PRIOR_IF, X86_EFLAGS_PRIOR_NT, X86_EFLAGS_PRIOR_OF, X86_EFLAGS_PRIOR_PF, X86_EFLAGS_PRIOR_SF, X86_EFLAGS_PRIOR_TF, X86_EFLAGS_PRIOR_ZF, X86_EFLAGS_RESET_0F, X86_EFLAGS_RESET_AC, X86_EFLAGS_RESET_AF, X86_EFLAGS_RESET_CF, X86_EFLAGS_RESET_DF, X86_EFLAGS_RESET_IF, X86_EFLAGS_RESET_NT, X86_EFLAGS_RESET_OF, X86_EFLAGS_RESET_PF, X86_EFLAGS_RESET_SF, X86_EFLAGS_RESET_TF, X86_EFLAGS_RESET_ZF, X86_EFLAGS_SET_AF, X86_EFLAGS_SET_CF, X86_EFLAGS_SET_DF, X86_EFLAGS_SET_IF, X86_EFLAGS_SET_OF, X86_EFLAGS_SET_PF, X86_EFLAGS_SET_SF, X86_EFLAGS_SET_ZF, X86_EFLAGS_TEST_AF, X86_EFLAGS_TEST_CF, X86_EFLAGS_TEST_DF, X86_EFLAGS_TEST_NT, X86_EFLAGS_TEST_OF, X86_EFLAGS_TEST_PF, X86_EFLAGS_TEST_RF, X86_EFLAGS_TEST_SF, X86_EFLAGS_TEST_TF, X86_EFLAGS_TEST_ZF, X86_EFLAGS_UNDEFINED_AF, X86_EFLAGS_UNDEFINED_CF, X86_EFLAGS_UNDEFINED_OF, X86_EFLAGS_UNDEFINED_PF, X86_EFLAGS_UNDEFINED_SF, and X86_EFLAGS_UNDEFINED_ZF.
Referenced by print_insn_detail_x86().
Definition at line 132 of file cstool_x86.c.
References NULL, X86_FPU_FLAGS_MODIFY_C0, X86_FPU_FLAGS_MODIFY_C1, X86_FPU_FLAGS_MODIFY_C2, X86_FPU_FLAGS_MODIFY_C3, X86_FPU_FLAGS_RESET_C0, X86_FPU_FLAGS_RESET_C1, X86_FPU_FLAGS_RESET_C2, X86_FPU_FLAGS_RESET_C3, X86_FPU_FLAGS_SET_C0, X86_FPU_FLAGS_SET_C1, X86_FPU_FLAGS_SET_C2, X86_FPU_FLAGS_SET_C3, X86_FPU_FLAGS_TEST_C0, X86_FPU_FLAGS_TEST_C1, X86_FPU_FLAGS_TEST_C2, X86_FPU_FLAGS_TEST_C3, X86_FPU_FLAGS_UNDEFINED_C0, X86_FPU_FLAGS_UNDEFINED_C1, X86_FPU_FLAGS_UNDEFINED_C2, and X86_FPU_FLAGS_UNDEFINED_C3.
Referenced by print_insn_detail_x86().
Definition at line 180 of file cstool_x86.c.
References count, CS_AC_READ, CS_AC_WRITE, CS_MODE_16, cs_op_count(), cs_op_index(), cs_reg_name(), cs_regs_access(), get_eflag_name(), get_fpu_flag_name(), i, NULL, print_string_hex(), printf(), PRIx64, X86_AVX_BCAST_INVALID, X86_AVX_CC_INVALID, X86_AVX_RM_INVALID, X86_GRP_FPU, X86_OP_IMM, X86_OP_MEM, X86_OP_REG, X86_REG_INVALID, X86_SSE_CC_INVALID, and X86_XOP_CC_INVALID.
Referenced by print_details().
Definition at line 91 of file cstool.c.
References c, len, printf(), and cmd_descs_generate::str.
Referenced by test_x86::print_insn_detail(), and print_insn_detail_x86().