qemu-e2k/disas
Peter Crosthwaite 51d373cf5f disas: cris: Fix 0 buffer length case
Cris has the complication of variable length instructions and has
a check in place to clamp memory reads in case the disas request
doesn't have enough bytes for the instruction being disas'd. This
breaks down in the case where disassembling for the monitor where
the buffer length is defaulted to 0.

The buffer length should never be zero for a regular target_disas,
so we can safely assume the 0 case is for the monitor in which case
consider the buffer length to be the max for cris instructions.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2015-07-09 15:20:41 +02:00
..
libvixl disas/libvixl: Update to upstream VIXL 1.7 2015-02-05 13:37:25 +00:00
alpha.c
arm-a64.cc disas: arm-a64: Make printfer and stream variable 2015-07-09 15:20:41 +02:00
arm.c disas/arm: Fix warnings caused by missing 'static' attribute 2015-03-10 08:15:34 +03:00
cris.c disas: cris: Fix 0 buffer length case 2015-07-09 15:20:41 +02:00
hppa.c
i386.c disas/i386: Disassemble ANDN/SHLX/SHRX/SHAX 2014-02-17 10:12:29 -06:00
ia64.c
lm32.c
m68k.c
Makefile.objs build: convert some obj-specific CFLAGS to use new foo.o-cflags syntax 2014-05-08 15:27:49 +02:00
microblaze.c disas/microblaze: Fix warnings caused by missing 'static' attribute 2015-03-10 08:15:34 +03:00
mips.c target-mips: add MTHC0 and MFHC0 instructions 2015-06-12 09:05:31 +01:00
moxie.c
ppc.c
s390.c disas/s390.c: Remove unused variables 2015-02-03 12:27:05 -08:00
sh4.c disas/sh4: Fix warning caused by missing 'static' attribute 2015-02-10 10:26:05 +03:00
sparc.c disas/sparc: Remove unused data sparc_opcode_archs[] 2015-01-21 16:18:01 +00:00
tci.c