qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 24/30] bsd-user/arm/target_arch_signal.h: arm set_mcontext


From: Richard Henderson
Subject: Re: [PATCH v2 24/30] bsd-user/arm/target_arch_signal.h: arm set_mcontext
Date: Tue, 2 Nov 2021 23:40:38 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 11/2/21 6:52 PM, Warner Losh wrote:
+    env->regs[15] = tswap32(gr[TARGET_REG_PC]);

This will be able to crash qemu with an odd pc in thumb mode.
You'd have to artificially create this mcontext of course.

Otherwise,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]