POV-Ray : Newsgroups : povray.off-topic : Wahahahaha! : Re: Wahahahaha! Server Time
11 Oct 2024 15:18:24 EDT (-0400)
  Re: Wahahahaha!  
From: Fredrik Eriksson
Date: 12 Nov 2007 14:40:17
Message: <op.t1o19egccs6ysw@e6600>
On Mon, 12 Nov 2007 20:09:27 +0100, Orchid XP v7 <voi### [at] devnull> wrote:
> Darren New wrote:
>> Orchid XP v7 wrote:
>>> That's impressive. Usually these things work by inserting software  
>>> interrupts into the code. (Or just software enumation of machine  
>>> state...)
>>  Nowadays, actually, they tend to play with the memory map to cause  
>> traps to occur where you want to see things. Breakpoint when you write  
>> a variable? Map the page the variable is in as read-only, then when the  
>> trap happens, see if the instruction was pointing to the variable.
>
> Interesting. I thought (in C) all variables exist on the machine stack?

Not true, but even so, the stack is still memory.


-- 
FE


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.