filename | src/x86dasm/x86dasm.h |
changeset | 365:94cab5ad0ed8 |
prev | 362:dc40e2064dc4 |
next | 376:8c7587af5a5d |
author | nkeynes |
date | Tue Sep 04 08:32:10 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Change sh4x86 test to translate/disasm full basic blocks Add prelim sym-tab support |
file | annotate | diff | log | raw |
1.1 --- a/src/x86dasm/x86dasm.h Tue Aug 28 08:46:54 2007 +00001.2 +++ b/src/x86dasm/x86dasm.h Tue Sep 04 08:32:10 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: x86dasm.h,v 1.1 2007-08-28 08:46:54 nkeynes Exp $1.6 + * $Id: x86dasm.h,v 1.2 2007-09-04 08:32:10 nkeynes Exp $1.7 *1.8 * Wrapper around i386-dis to supply the same behaviour as the other1.9 * disassembly functions.1.10 @@ -21,4 +21,11 @@1.11 #include "mem.h"1.12 extern const struct cpu_desc_struct x86_cpu_desc;1.14 +typedef struct x86_symbol {1.15 + const char *name;1.16 + void *ptr;1.17 +} x86_symbol;1.18 +1.19 +void x86_set_symtab( x86_symbol *symtab, int num_symbols );1.20 +void x86_disasm_init(char *buf, uint32_t vma, int buflen);1.21 uint32_t x86_disasm_instruction( uint32_t pc, char *buf, int len, char *opcode );
.