POV-Ray : Newsgroups : povray.off-topic : Wahahahaha! : Re: Wahahahaha! Server Time
11 Oct 2024 17:45:51 EDT (-0400)
  Re: Wahahahaha!  
From: Orchid XP v7
Date: 12 Nov 2007 14:09:26
Message: <4738a4e6$1@news.povray.org>
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?


Post a reply to this message

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