Home
last modified time | relevance | path

Searched refs:cs_handle (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dprint_insn.c35 int capstone_init(struct machine *machine, csh *cs_handle, bool is64, bool disassembler_style);
37 int capstone_init(struct machine *machine, csh *cs_handle, bool is64, bool disassembler_style) in capstone_init() argument
61 if (cs_open(arch, mode, cs_handle) != CS_ERR_OK) { in capstone_init()
73 cs_option(*cs_handle, CS_OPT_SYNTAX, CS_OPT_SYNTAX_ATT); in capstone_init()
78 cs_option(*cs_handle, CS_OPT_DETAIL, CS_OPT_ON); in capstone_init()
128 csh cs_handle; in fprintf_insn_asm() local
133 ret = capstone_init(machine, &cs_handle, is64bit, true); in fprintf_insn_asm()
137 count = cs_disasm(cs_handle, code, code_size, ip, 1, &insn); in fprintf_insn_asm()
150 cs_close(&cs_handle); in fprintf_insn_asm()
Ddisasm.c1331 int capstone_init(struct machine *machine, csh *cs_handle, bool is64, bool disassembler_style);