1.1 --- a/src/x86dasm/x86dasm.c Mon Jul 21 00:08:34 2008 +0000
1.2 +++ b/src/x86dasm/x86dasm.c Thu Dec 04 09:06:35 2008 +0000
1.7 +void x86_print_symbolic_operand( char *buf, int hex, unsigned int disp )
1.9 + const char *sym = x86_find_symbol(disp, NULL);
1.10 + if( sym != NULL ) {
1.11 + snprintf( buf, 50, "<%s>", sym );
1.12 + } else if( hex ) {
1.13 + sprintf( buf, "0x%x", disp );
1.15 + sprintf( buf, "%d", (int)disp );
1.19 uint32_t x86_disasm_instruction( uintptr_t pc, char *buf, int len, char *opcode )