[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Binary translation (of code)
From: |
Lluís |
Subject: |
Re: [Qemu-devel] Binary translation (of code) |
Date: |
Sun, 08 May 2011 21:41:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Tarmo Pikaro writes:
> Hi !
>> > I think self-modifying code is kinda rare case - it's made typically for
>> > protection againt hackers , and typically on pc side. Nintendo roms
>> > probably
>> > don't use this kind of
>> > protection.
>>
>> It doesn't have to be protection, for example GCC generates
>> trampolines to stack when using nested functions.
> Ok, so apparently we will have some challenges on the way.
> I guess some sort of mutation - qemu + recompiler could be done as well...
It would be much easier to ship an executable containing both the guest
application and qemu, so that executing it starts qemu with a
pre-defined configuration and runs the guest binary.
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth