On Tue, Nov 2, 2021 at 9:40 PM Richard Henderson < richard.hender...@linaro.org> wrote:
> 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. > Sure. And if you did this natively, you'd also get SIGILL or something similar and the process would die and/or coredump. Is there something different about qemu-user that I'm missing in this context? Warner > Otherwise, > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > > > r~ >