#include <rz_lib.h>
#include <rz_asm.h>
Go to the source code of this file.
◆ assemble()
Definition at line 7 of file asm_x86_nasm.c.
10 RZ_LOG_ERROR(
"assembler: x86.nasm: the assembler does not support non-intel syntax\n");
38 RZ_LOG_ERROR(
"assembler: x86.nasm: failed to run command 'nasm %s -o %s'\n", ipath, opath);
RZ_API void rz_asm_op_set_buf(RzAsmOp *op, const ut8 *buf, int len)
static static fork const void static count close
RZ_API void Ht_() free(HtName_(Ht) *ht)
static static fork const void static count static fd const char static mode unlink
RZ_API int rz_file_mkstemp(RZ_NULLABLE const char *prefix, char **oname)
#define RZ_LOG_ERROR(fmtstr,...)
RZ_API char * rz_str_newf(const char *fmt,...) RZ_PRINTF_CHECK(1
RZ_API int rz_sys_cmdf(const char *fmt,...) RZ_PRINTF_CHECK(1
#define rz_xwrite(fd, buf, count)
int read(izstream &zs, T *x, Items items)
References a, close, free(), PFMT64x, read(), rz_asm_op_set_buf(), RZ_ASM_SYNTAX_INTEL, rz_file_mkstemp(), RZ_LOG_ERROR, rz_str_newf(), rz_sys_cmdf(), rz_xwrite, and unlink.
◆ rizin_plugin
Initial value:= {
}
RzAsmPlugin rz_asm_plugin_x86_nasm
Definition at line 62 of file asm_x86_nasm.c.
◆ rz_asm_plugin_x86_nasm
Initial value:= {
.name = "x86.nasm",
.desc = "X86 nasm assembler",
.license = "LGPL3",
.arch = "x86",
.bits = 16 | 32 | 64,
}
static int assemble(RzAsm *a, RzAsmOp *op, const char *buf)
#define RZ_SYS_ENDIAN_LITTLE
Definition at line 50 of file asm_x86_nasm.c.