qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] How to execute an image under QEMU


From: Peter Maydell
Subject: Re: [Qemu-discuss] How to execute an image under QEMU
Date: Wed, 10 Dec 2014 12:21:13 +0000

On 10 December 2014 at 07:58,  <address@hidden> wrote:
> 4)       Execute the binary
>
>                 ((int (*)(void))(env->eip))();

This makes no sense. You're taking a guest virtual address
(EIP value) and treating it as a host function pointer.
This is obviously going to crash.

-- PMM



reply via email to

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