On 10/16/2011 02:06 PM, Blue Swirl wrote:
> >
> > c = get_executable_memory(1Gb)
> > set(c, OPCODE_NOP, sizeof c)
> > jmp_into c
>
> Not really, we don't care very much about such timing problems.
> Translation is limited so that the intermediate buffer does not
> overflow, also page boundaries may not be crossed. If an instruction
> may cause a fault, it will terminate the block.

On x86 an instruction may cross page boundary.  So an instruction that
begins in one page may be interpreted differently depending on the
contents of the second page.  But I see that the code handles it cleverly.

-- 
error compiling committee.c: too many arguments to function


Reply via email to