10 #include "../arch/pyc/pyc_dis.h"
23 if (!strcmp(plugin->
name,
"pyc")) {
39 RZ_LOG_ERROR(
"disassembler: pyc: unsupported pyc opcode cpu/version (asm.cpu=%s).\n",
a->cpu);
62 .desc =
"PYC disassemble plugin",
67 #ifndef RZ_PLUGIN_INCORE
static int disassemble(RzAsm *a, RzAsmOp *opstruct, const ut8 *buf, int len)
RzAsmPlugin rz_asm_plugin_pyc
static pyc_opcodes * opcodes_cache
RZ_API RzLibStruct rizin_plugin
static bool finish(void *user)
RZ_API RZ_BORROW void * rz_list_get_n(RZ_NONNULL const RzList *list, ut32 n)
Returns the N-th element of the list.
void free_opcode(pyc_opcodes *opcodes)
pyc_opcodes * get_opcode_by_version(char *version)
bool pyc_opcodes_equal(pyc_opcodes *op, const char *version)
int rz_pyc_disasm(RzAsmOp *opstruct, const ut8 *code, RzList *cobjs, RzList *interned_table, ut64 pc, pyc_opcodes *ops)
#define RZ_LOG_ERROR(fmtstr,...)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()