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