From ed37aa8070cabf80de269508cbf022bc2b464d26 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 18 Mar 2009 23:10:19 -0700 Subject: disasm: when no instruction is found, consider a naked prefix If we can't find a matching instruction, rather than printing it as a "db" literal, consider first if we can disassemble it as a naked prefix. --- disasm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disasm.h') diff --git a/disasm.h b/disasm.h index 56785ce..6467730 100644 --- a/disasm.h +++ b/disasm.h @@ -13,6 +13,6 @@ int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize, int32_t offset, int autosync, uint32_t prefer); -int32_t eatbyte(uint8_t *data, char *output, int outbufsize); +int32_t eatbyte(uint8_t *data, char *output, int outbufsize, int segsize); #endif -- cgit v1.2.3