2017-02-28 01:26:55 +00:00
|
|
|
/* radare - LGPL - Copyright 2009-2017 - nibble, pancake */
|
2009-02-05 21:08:46 +00:00
|
|
|
|
2014-03-27 15:34:17 +00:00
|
|
|
#ifndef R2_ASM_H
|
|
|
|
#define R2_ASM_H
|
2009-02-05 21:08:46 +00:00
|
|
|
|
2009-02-18 00:49:26 +00:00
|
|
|
#include <r_types.h>
|
2012-07-21 10:11:21 +00:00
|
|
|
#include <r_bin.h> // only for binding, no hard dep required
|
2010-02-12 12:45:03 +00:00
|
|
|
#include <r_util.h>
|
2011-10-05 00:38:37 +00:00
|
|
|
#include <r_parse.h>
|
2009-02-05 21:08:46 +00:00
|
|
|
|
2013-06-18 10:09:23 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2013-06-14 00:51:33 +00:00
|
|
|
R_LIB_VERSION_HEADER(r_asm);
|
|
|
|
|
2016-11-12 10:08:34 +00:00
|
|
|
#define R_ASM_OPCODES_PATH R2_PREFIX "/share/radare2/" R2_VERSION "/opcodes"
|
2011-11-13 03:08:08 +00:00
|
|
|
// XXX too big!
|
2016-03-03 16:26:03 +00:00
|
|
|
// the 256th character is left for the null terminator
|
|
|
|
#define R_ASM_BUFSIZE 255
|
2009-08-14 00:37:18 +00:00
|
|
|
|
2011-05-05 22:59:10 +00:00
|
|
|
/* backward compatibility */
|
|
|
|
#define R_ASM_ARCH_NONE R_SYS_ARCH_NONE
|
|
|
|
#define R_ASM_ARCH_X86 R_SYS_ARCH_X86
|
|
|
|
#define R_ASM_ARCH_ARM R_SYS_ARCH_ARM
|
|
|
|
#define R_ASM_ARCH_PPC R_SYS_ARCH_PPC
|
|
|
|
#define R_ASM_ARCH_M68K R_SYS_ARCH_M68K
|
|
|
|
#define R_ASM_ARCH_JAVA R_SYS_ARCH_JAVA
|
2016-04-24 21:13:00 +00:00
|
|
|
#define R_ASM_ARCH_LM32 R_SYS_ARCH_LM32
|
2011-05-05 22:59:10 +00:00
|
|
|
#define R_ASM_ARCH_MIPS R_SYS_ARCH_MIPS
|
|
|
|
#define R_ASM_ARCH_SPARC R_SYS_ARCH_SPARC
|
2016-07-22 22:41:42 +00:00
|
|
|
#define R_ASM_ARCH_XAP R_SYS_ARCH_XAP
|
2011-05-05 22:59:10 +00:00
|
|
|
#define R_ASM_ARCH_MSIL R_SYS_ARCH_MSIL
|
|
|
|
#define R_ASM_ARCH_OBJD R_SYS_ARCH_OBJD
|
|
|
|
#define R_ASM_ARCH_BF R_SYS_ARCH_BF
|
|
|
|
#define R_ASM_ARCH_SH R_SYS_ARCH_SH
|
2012-02-02 00:06:22 +00:00
|
|
|
#define R_ASM_ARCH_Z80 R_SYS_ARCH_Z80
|
2012-10-29 20:43:08 +00:00
|
|
|
#define R_ASM_ARCH_I8080 R_SYS_ARCH_I8080
|
2012-09-23 15:33:19 +00:00
|
|
|
#define R_ASM_ARCH_ARC R_SYS_ARCH_ARC
|
2015-05-28 09:24:31 +00:00
|
|
|
#define R_ASM_ARCH_HPPA R_SYS_ARCH_HPPA
|
2009-02-18 00:49:26 +00:00
|
|
|
|
2011-06-28 22:36:52 +00:00
|
|
|
#define R_ASM_GET_OFFSET(x,y,z) \
|
|
|
|
(x && x->binb.bin && x->binb.get_offset)? \
|
|
|
|
x->binb.get_offset (x->binb.bin, y, z): -1
|
|
|
|
|
2016-09-22 22:33:25 +00:00
|
|
|
#define R_ASM_GET_NAME(x,y,z) \
|
|
|
|
(x && x->binb.bin && x->binb.get_name)? \
|
2017-01-09 23:57:49 +00:00
|
|
|
x->binb.get_name (x->binb.bin, y, z): NULL
|
2016-09-22 22:33:25 +00:00
|
|
|
|
2009-02-05 21:08:46 +00:00
|
|
|
enum {
|
2010-01-25 10:54:25 +00:00
|
|
|
R_ASM_SYNTAX_NONE = 0,
|
|
|
|
R_ASM_SYNTAX_INTEL,
|
2014-06-25 13:44:03 +00:00
|
|
|
R_ASM_SYNTAX_ATT,
|
2015-08-21 13:29:37 +00:00
|
|
|
R_ASM_SYNTAX_MASM,
|
2014-06-25 13:44:03 +00:00
|
|
|
R_ASM_SYNTAX_REGNUM, // alias for capstone's NOREGNAME
|
2015-05-09 09:11:46 +00:00
|
|
|
R_ASM_SYNTAX_JZ, // hack to use jz instead of je on x86
|
2009-02-05 21:08:46 +00:00
|
|
|
};
|
|
|
|
|
2010-04-08 22:52:38 +00:00
|
|
|
enum {
|
|
|
|
R_ASM_MOD_RAWVALUE = 'r',
|
|
|
|
R_ASM_MOD_VALUE = 'v',
|
|
|
|
R_ASM_MOD_DSTREG = 'd',
|
|
|
|
R_ASM_MOD_SRCREG0 = '0',
|
2010-10-27 22:55:07 +00:00
|
|
|
R_ASM_MOD_SRCREG1 = '1',
|
|
|
|
R_ASM_MOD_SRCREG2 = '2'
|
2010-04-08 22:52:38 +00:00
|
|
|
};
|
|
|
|
|
2011-02-24 15:50:29 +00:00
|
|
|
typedef struct r_asm_op_t {
|
2013-12-06 04:04:17 +00:00
|
|
|
int size; // instruction size
|
2014-09-12 17:25:43 +00:00
|
|
|
int payload; // size of payload (opsize = (size-payload))
|
2011-02-17 21:03:30 +00:00
|
|
|
// But this is pretty slow..so maybe we should add some accessors
|
2016-06-17 12:26:24 +00:00
|
|
|
ut8 buf[R_ASM_BUFSIZE + 1];
|
|
|
|
char buf_asm[R_ASM_BUFSIZE + 1];
|
|
|
|
char buf_hex[R_ASM_BUFSIZE + 1];
|
2011-02-24 15:50:29 +00:00
|
|
|
} RAsmOp;
|
2009-02-05 21:08:46 +00:00
|
|
|
|
2010-01-08 17:25:25 +00:00
|
|
|
typedef struct r_asm_code_t {
|
2012-08-22 16:02:23 +00:00
|
|
|
int len;
|
|
|
|
ut8 *buf;
|
2010-01-08 17:25:25 +00:00
|
|
|
char *buf_hex;
|
|
|
|
char *buf_asm;
|
2010-02-12 12:45:03 +00:00
|
|
|
RList *equs; // TODO: must be a hash
|
2011-08-07 22:46:04 +00:00
|
|
|
ut64 code_offset;
|
|
|
|
ut64 data_offset;
|
2016-11-16 00:21:58 +00:00
|
|
|
int code_align;
|
2010-01-26 00:28:33 +00:00
|
|
|
} RAsmCode;
|
2010-01-08 17:25:25 +00:00
|
|
|
|
2010-02-12 12:45:03 +00:00
|
|
|
// TODO: Must use Hashtable instead of this hack
|
|
|
|
typedef struct {
|
|
|
|
char *key;
|
|
|
|
char *value;
|
|
|
|
} RAsmEqu;
|
|
|
|
|
2013-06-15 00:56:25 +00:00
|
|
|
#define _RAsmPlugin struct r_asm_plugin_t
|
2009-12-24 02:17:53 +00:00
|
|
|
typedef struct r_asm_t {
|
2013-06-17 01:26:48 +00:00
|
|
|
char *cpu;
|
|
|
|
int bits;
|
|
|
|
int big_endian;
|
|
|
|
int syntax;
|
2010-01-08 17:25:25 +00:00
|
|
|
ut64 pc;
|
2009-02-18 00:49:26 +00:00
|
|
|
void *user;
|
2013-06-15 00:56:25 +00:00
|
|
|
_RAsmPlugin *cur;
|
2016-05-30 16:53:32 +00:00
|
|
|
_RAsmPlugin *acur;
|
2010-05-26 00:55:50 +00:00
|
|
|
RList *plugins;
|
2011-06-26 18:29:24 +00:00
|
|
|
RBinBind binb;
|
2011-10-05 00:38:37 +00:00
|
|
|
RParse *ifilter;
|
|
|
|
RParse *ofilter;
|
2014-03-07 00:26:11 +00:00
|
|
|
Sdb *pair;
|
2013-04-21 23:09:27 +00:00
|
|
|
RSyscall *syscall;
|
2012-11-16 00:34:26 +00:00
|
|
|
RNum *num;
|
2015-02-11 02:50:56 +00:00
|
|
|
char *features;
|
2015-08-30 22:20:07 +00:00
|
|
|
int invhex; // invalid instructions displayed in hex
|
2015-10-14 00:11:53 +00:00
|
|
|
int pcalign;
|
2017-05-23 01:01:45 +00:00
|
|
|
int dataalign;
|
2017-05-30 11:19:21 +00:00
|
|
|
SdbHash *flags;
|
2010-01-26 00:28:33 +00:00
|
|
|
} RAsm;
|
2009-02-18 00:49:26 +00:00
|
|
|
|
2010-04-08 22:52:38 +00:00
|
|
|
typedef int (*RAsmModifyCallback)(RAsm *a, ut8 *buf, int field, ut64 val);
|
|
|
|
|
2010-05-25 23:42:22 +00:00
|
|
|
typedef struct r_asm_plugin_t {
|
2016-05-02 00:46:01 +00:00
|
|
|
const char *name;
|
|
|
|
const char *arch;
|
2017-02-28 01:26:55 +00:00
|
|
|
const char *author;
|
|
|
|
const char *version;
|
2016-05-02 00:46:01 +00:00
|
|
|
const char *cpus;
|
|
|
|
const char *desc;
|
|
|
|
const char *license;
|
2014-07-30 20:12:48 +00:00
|
|
|
void *user; // user data pointer
|
2013-12-05 17:41:13 +00:00
|
|
|
int bits;
|
2016-04-26 09:09:15 +00:00
|
|
|
int endian;
|
2015-12-01 11:39:12 +00:00
|
|
|
bool (*init)(void *user);
|
|
|
|
bool (*fini)(void *user);
|
2013-04-09 20:54:04 +00:00
|
|
|
int (*disassemble)(RAsm *a, RAsmOp *op, const ut8 *buf, int len);
|
2012-07-21 10:11:21 +00:00
|
|
|
int (*assemble)(RAsm *a, RAsmOp *op, const char *buf);
|
2010-04-08 22:52:38 +00:00
|
|
|
RAsmModifyCallback modify;
|
|
|
|
int (*set_subarch)(RAsm *a, const char *buf);
|
2016-10-30 11:39:49 +00:00
|
|
|
char *(*mnemonics)(RAsm *a, int id, bool json);
|
2015-02-11 02:50:56 +00:00
|
|
|
const char *features;
|
2010-05-25 23:42:22 +00:00
|
|
|
} RAsmPlugin;
|
2009-02-05 21:08:46 +00:00
|
|
|
|
2009-12-24 02:17:53 +00:00
|
|
|
#ifdef R_API
|
2009-02-05 21:08:46 +00:00
|
|
|
/* asm.c */
|
2015-01-13 02:40:01 +00:00
|
|
|
R_API RAsm *r_asm_new(void);
|
2011-02-27 20:56:13 +00:00
|
|
|
#define r_asm_op_free free
|
2014-08-29 14:26:43 +00:00
|
|
|
R_API RAsm *r_asm_free(RAsm *a);
|
2010-04-08 22:52:38 +00:00
|
|
|
R_API int r_asm_modify(RAsm *a, ut8 *buf, int field, ut64 val);
|
2016-10-30 11:39:49 +00:00
|
|
|
R_API char *r_asm_mnemonics(RAsm *a, int id, bool json);
|
2016-11-02 02:49:55 +00:00
|
|
|
R_API int r_asm_mnemonics_byname(RAsm *a, const char *name);
|
2010-04-08 22:52:38 +00:00
|
|
|
R_API void r_asm_set_user_ptr(RAsm *a, void *user);
|
2016-04-03 22:17:57 +00:00
|
|
|
R_API bool r_asm_add(RAsm *a, RAsmPlugin *foo);
|
2011-11-24 05:06:26 +00:00
|
|
|
R_API int r_asm_setup(RAsm *a, const char *arch, int bits, int big_endian);
|
2013-11-14 12:52:03 +00:00
|
|
|
R_API int r_asm_is_valid(RAsm *a, const char *name);
|
2010-04-08 22:52:38 +00:00
|
|
|
R_API int r_asm_use(RAsm *a, const char *name);
|
2016-05-30 16:53:32 +00:00
|
|
|
R_API bool r_asm_use_assembler(RAsm *a, const char *name);
|
2016-04-29 09:30:38 +00:00
|
|
|
R_API bool r_asm_set_arch(RAsm *a, const char *name, int bits);
|
2010-04-08 22:52:38 +00:00
|
|
|
R_API int r_asm_set_bits(RAsm *a, int bits);
|
2013-06-17 01:26:48 +00:00
|
|
|
R_API void r_asm_set_cpu(RAsm *a, const char *cpu);
|
2016-04-26 09:09:15 +00:00
|
|
|
R_API bool r_asm_set_big_endian(RAsm *a, bool big_endian);
|
2010-04-08 22:52:38 +00:00
|
|
|
R_API int r_asm_set_syntax(RAsm *a, int syntax);
|
2016-10-04 13:01:02 +00:00
|
|
|
R_API int r_asm_syntax_from_string(const char *name);
|
2010-04-08 22:52:38 +00:00
|
|
|
R_API int r_asm_set_pc(RAsm *a, ut64 pc);
|
2013-04-09 20:54:04 +00:00
|
|
|
R_API int r_asm_disassemble(RAsm *a, RAsmOp *op, const ut8 *buf, int len);
|
2012-07-21 10:11:21 +00:00
|
|
|
R_API int r_asm_assemble(RAsm *a, RAsmOp *op, const char *buf);
|
2013-08-15 15:33:41 +00:00
|
|
|
R_API RAsmCode* r_asm_mdisassemble(RAsm *a, const ut8 *buf, int len);
|
2010-05-30 11:00:21 +00:00
|
|
|
R_API RAsmCode* r_asm_mdisassemble_hexstr(RAsm *a, const char *hexstr);
|
2012-07-21 10:11:21 +00:00
|
|
|
R_API RAsmCode* r_asm_massemble(RAsm *a, const char *buf);
|
2017-01-09 23:57:49 +00:00
|
|
|
R_API RAsmCode* r_asm_rasm_assemble(RAsm *a, const char *buf, bool use_spp);
|
2012-07-21 10:11:21 +00:00
|
|
|
R_API RAsmCode* r_asm_assemble_file(RAsm *a, const char *file);
|
2016-04-29 09:30:38 +00:00
|
|
|
R_API char *r_asm_to_string(RAsm *a, ut64 addr, const ut8 *b, int l);
|
2017-01-10 12:27:09 +00:00
|
|
|
/* to ease the use of the native bindings (not used in r2) */
|
2016-04-29 09:30:38 +00:00
|
|
|
R_API ut8 *r_asm_from_string(RAsm *a, ut64 addr, const char *b, int *l);
|
2011-10-05 00:38:37 +00:00
|
|
|
R_API int r_asm_filter_input(RAsm *a, const char *f);
|
|
|
|
R_API int r_asm_filter_output(RAsm *a, const char *f);
|
2011-11-12 00:52:31 +00:00
|
|
|
R_API char *r_asm_describe(RAsm *a, const char* str);
|
2014-07-02 22:01:46 +00:00
|
|
|
R_API RList* r_asm_get_plugins(RAsm *a);
|
2017-01-16 11:03:06 +00:00
|
|
|
R_API void r_asm_list_directives(void);
|
2009-03-08 23:49:15 +00:00
|
|
|
|
2010-02-12 17:40:05 +00:00
|
|
|
/* code.c */
|
2015-01-13 02:40:01 +00:00
|
|
|
R_API RAsmCode *r_asm_code_new(void);
|
2012-07-21 10:11:21 +00:00
|
|
|
R_API void* r_asm_code_free(RAsmCode *acode);
|
2016-01-30 02:02:06 +00:00
|
|
|
R_API bool r_asm_code_set_equ (RAsmCode *code, const char *key, const char *value);
|
2010-02-12 17:40:05 +00:00
|
|
|
R_API char *r_asm_code_equ_replace (RAsmCode *code, char *str);
|
|
|
|
|
2011-02-17 21:03:30 +00:00
|
|
|
// accessors, to make bindings happy
|
2011-02-24 15:50:29 +00:00
|
|
|
R_API char *r_asm_op_get_hex(RAsmOp *op);
|
|
|
|
R_API char *r_asm_op_get_asm(RAsmOp *op);
|
2012-08-22 16:02:23 +00:00
|
|
|
R_API int r_asm_op_get_size(RAsmOp *op);
|
2011-02-17 21:03:30 +00:00
|
|
|
|
2009-03-08 23:49:15 +00:00
|
|
|
/* plugin pointers */
|
2010-05-25 23:42:22 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_bf;
|
|
|
|
extern RAsmPlugin r_asm_plugin_java;
|
2014-06-25 10:22:08 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_mips_gnu;
|
2014-03-07 02:16:10 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_mips_cs;
|
2014-11-10 10:28:34 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_x86_udis;
|
2011-08-03 19:01:56 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_x86_as;
|
2011-08-04 22:34:45 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_x86_nz;
|
2010-05-25 23:42:22 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_x86_nasm;
|
2014-03-07 02:16:10 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_x86_cs;
|
2014-06-25 10:22:08 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_arm_gnu;
|
2014-03-07 02:16:10 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_arm_cs;
|
2015-08-24 13:43:13 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_arm_as;
|
2010-10-05 22:35:33 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_armthumb;
|
2012-08-07 20:17:14 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_arm_winedbg;
|
2016-07-22 22:41:42 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_xap;
|
2014-11-10 14:59:43 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_ppc_gnu;
|
2014-03-07 02:16:10 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_ppc_cs;
|
2014-11-10 15:40:47 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_sparc_gnu;
|
2010-05-25 23:42:22 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_avr;
|
2011-01-18 23:39:28 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_dalvik;
|
2011-03-29 12:55:41 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_sh;
|
2012-02-02 00:06:22 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_z80;
|
2012-10-29 20:19:49 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_i8080;
|
2012-02-02 00:06:22 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_m68k;
|
2015-10-07 12:37:25 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_m68k_cs;
|
2012-09-22 19:03:01 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_arc;
|
2012-06-21 13:13:42 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_dcpu16;
|
2013-04-09 18:05:36 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_8051;
|
2014-02-03 22:52:13 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_tms320;
|
2013-11-14 15:54:29 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_gb;
|
2013-11-29 16:30:58 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_snes;
|
2013-11-29 13:55:34 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_ebc;
|
2014-01-15 21:44:14 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_nios2;
|
2014-01-28 00:57:12 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_malbolge;
|
2014-02-02 01:42:21 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_ws;
|
2014-02-24 14:51:24 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_6502;
|
2014-02-21 17:00:28 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_h8300;
|
2014-03-12 07:42:36 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_cr16;
|
2014-05-16 11:54:36 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_v850;
|
2014-05-17 00:37:29 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_sysz;
|
|
|
|
extern RAsmPlugin r_asm_plugin_sparc_cs;
|
2014-05-27 21:08:20 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_xcore_cs;
|
2014-06-14 18:46:31 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_spc700;
|
2014-08-28 06:08:11 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_propeller;
|
2014-09-23 07:36:37 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_msp430;
|
2014-11-18 14:47:47 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_i4004;
|
2014-12-07 22:17:01 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_cris_gnu;
|
2015-03-28 16:06:33 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_lh5801;
|
2015-05-28 09:24:31 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_hppa_gnu;
|
2015-07-08 14:39:21 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_v810;
|
2015-09-16 00:42:41 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_mcs96;
|
2015-09-20 19:38:17 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_lm32;
|
2015-10-29 23:05:48 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_riscv;
|
2015-11-23 11:34:53 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_vax;
|
2016-02-15 12:27:23 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_lanai_gnu;
|
2016-01-28 22:59:50 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_xtensa;
|
2016-01-30 01:47:17 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_tricore;
|
2016-02-29 23:07:30 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_pic18c;
|
2016-07-03 20:03:26 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_rsp;
|
2017-06-07 09:43:24 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_hexagon_gnu;
|
2017-03-02 13:42:05 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_wasm;
|
2017-04-17 21:37:04 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_tms320c64x;
|
2017-07-08 22:52:53 +00:00
|
|
|
extern RAsmPlugin r_asm_plugin_evm;
|
2017-03-02 13:42:05 +00:00
|
|
|
|
2010-01-12 01:12:18 +00:00
|
|
|
#endif
|
2009-03-10 01:49:24 +00:00
|
|
|
|
2013-06-18 10:09:23 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2009-02-05 21:08:46 +00:00
|
|
|
#endif
|