Rizin
unix-like reverse engineering framework and cli tools
|
#include <stdio.h>
#include <stdlib.h>
#include <capstone/platform.h>
#include <capstone/capstone.h>
Go to the source code of this file.
Macros | |
#define | X86_CODE32 "\x75\x01" |
Functions | |
static void | print_string_hex (unsigned char *str, size_t len) |
static void | print_insn (csh handle) |
static void | test () |
int | main () |
#define X86_CODE32 "\x75\x01" |
Definition at line 13 of file test_customized_mnem.c.
int main | ( | void | ) |
Definition at line 81 of file test_customized_mnem.c.
References test().
|
static |
Definition at line 27 of file test_customized_mnem.c.
References count, cs_disasm(), cs_free(), handle, print_string_hex(), printf(), and X86_CODE32.
Referenced by test().
Definition at line 16 of file test_customized_mnem.c.
References c, len, printf(), and cmd_descs_generate::str.
Referenced by print_insn().
|
static |
Definition at line 44 of file test_customized_mnem.c.
References CS_ARCH_X86, cs_close(), CS_MODE_32, cs_open(), CS_OPT_MNEMONIC, cs_option(), err, handle, NULL, print_insn(), printf(), and X86_INS_JNE.
Referenced by main().