Search
lxdream.org :: lxdream/src/x86dasm/x86dasm.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/x86dasm/x86dasm.c
changeset 515:5e5bb1dd369e
prev480:d28c2992f5ee
next527:14c9489f647e
author nkeynes
date Thu Nov 15 08:17:17 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix compilation of the unit tests
file annotate diff log raw
1.1 --- a/src/x86dasm/x86dasm.c Wed Oct 31 11:53:35 2007 +0000
1.2 +++ b/src/x86dasm/x86dasm.c Thu Nov 15 08:17:17 2007 +0000
1.3 @@ -39,6 +39,14 @@
1.4 static x86_symbol *x86_symtab;
1.5 static int x86_num_symbols = 0;
1.6
1.7 +
1.8 +void xlat_disasm_block( FILE *out, void *block )
1.9 +{
1.10 + uint32_t buflen = xlat_get_block_size(block);
1.11 + x86_set_symtab( NULL, 0 );
1.12 + x86_disasm_block( out, block, buflen );
1.13 +}
1.14 +
1.15 void x86_disasm_block(FILE *out, void *start, uint32_t len)
1.16 {
1.17 uint32_t start_addr = (uint32_t)start;
.