qemu-e2k/target/mips
Paolo Bonzini dfae46c3ba target/mips: tcg: detect out-of-bounds accesses to cpu_gpr and cpu_gpr_hi
In some cases (for example gen_compute_branch_nm in
nanomips_translate.c.inc) registers can be unused
on some paths and a negative value is passed in that case:

        gen_compute_branch_nm(ctx, OPC_BPOSGE32, 4, -1, -2,
                              imm << 1);

To avoid an out of bounds access in those cases, introduce
assertions.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-04-20 11:17:35 +02:00
..
sysemu target/mips: Replace [g_]assert(0) -> g_assert_not_reached() 2023-03-07 18:08:12 +01:00
tcg target/mips: tcg: detect out-of-bounds accesses to cpu_gpr and cpu_gpr_hi 2023-04-20 11:17:35 +02:00
cpu-defs.c.inc target/mips: Set correct CP0.Config[4, 5] values for M14K(c) 2023-03-08 00:37:48 +01:00
cpu-param.h target/mips: Remove NB_MMU_MODES define 2023-03-13 06:44:37 -07:00
cpu-qom.h target/mips: Convert to 3-phase reset 2022-12-16 15:58:15 +00:00
cpu.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
cpu.h target/mips: Implement CP0.Config7.WII bit support 2023-03-08 00:37:48 +01:00
fpu_helper.h
fpu.c
gdbstub.c gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
helper.h target/mips: Extract NEC Vr54xx helper definitions 2021-08-25 13:02:14 +02:00
internal.h mips: Remove support for trap and emulate KVM 2023-01-13 09:32:32 +01:00
Kconfig
kvm_mips.h
kvm.c mips: Remove support for trap and emulate KVM 2023-01-13 09:32:32 +01:00
meson.build
mips-defs.h target/mips: introduce decodetree structure for Cavium Octeon extension 2022-07-12 22:30:09 +02:00
msa.c