This is more or less the greatest thing I've learned about in the last couple years.<p>What's happening here is that they're getting computation <i>without executing any instructions</i>, simply through the process of using the MMU hardware to "resolve addresses". The page directory system has been set up in such a way that address resolution effects a virtual machine that they can code to.<p>This works because when you attempt to resolve an invalid address, the CPU generates a trap (#PF), and the handling of that trap pushes information on the "stack". Each time you push data to the stack, you decrement the stack pointer. Eventually, the stack pointer underflows; when that happens, a different trap (#DF) fires. This mechanism put together gives you:<p><pre><code> if x < 4 { goto b } else { x = x - 4 ; goto a }
</code></pre>
also known as "subtract and branch if less than or equal to zero", also known as "an instruction adequate to construct a one-instruction computer".<p>The virtual machine "runs" by generating an unending series of traps: in the "goto a" case, the result of translation is another address generating a trap. And so on.<p>The details of how this computer has "memory" and addresses instructions is even headachier. They're using the x86 TSS as "memory" and for technical reasons they get 16 slots (and thus instructions) to work with, but they have a compiler that builds arbitrary programs into 16-colored graphs to use those slots to express generic programs. Every emulator they could find crashes when they abuse the hardware task switching system this way.<p>Here's it running Conway's Life:<p><a href="http://youtubedoubler.com/?video1=E2VCwBzGdPM&start1=0&video2=eSRcvrVs5ug&start2=0&authorName=FAV" rel="nofollow">http://youtubedoubler.com/?video1=E2VCwBzGdPM&start1=0&#...</a><p>Here's their talk for a few months back:<p><a href="http://www.youtube.com/watch?v=NGXvJ1GKBKM" rel="nofollow">http://www.youtube.com/watch?v=NGXvJ1GKBKM</a><p>The talk is great, but if you're not super interested in X86/X64 memory corruption countermeasures, you might want to skip the first 30 minutes.