/* ----------------------------------------------------------------------------- * syn.h * * Copyright (c) 2006, Vivek Mohan * All rights reserved. See LICENSE * ----------------------------------------------------------------------------- */ #ifndef UD_SYN_H #define UD_SYN_H #include #include #include "types.h" extern const char* const ud_reg_tab[]; static void mkasm(struct ud* u, const char* fmt, ...) { va_list ap; va_start(ap, fmt); u->insn_fill += vsprintf((char*) u->insn_buffer + u->insn_fill, fmt, ap); va_end(ap); } #endif