|
From: Paul W. <pa...@bl...> - 2008-08-04 13:38:44
|
On Fri, Aug 01, 2008 at 02:40:55PM +0300, Yeshurun, Meir wrote: > I'm pretty sure that when you run the same binary on the same inputs you > get the same pointer values because the linker/loader and the libc > allocator are deterministic No, not reliably. Security and optimisation techniques such as address space randomization and prelinking will break that assumption. Any programme which is treating unrelated addresses as more than opaque cookies is likely to be broken, I would think. (I'm including "use them for tree node sorting" in the opaque cookies use, for what it's worth.) -- Paul Java/XML are the hammer and the Internet is the thumb. -- rone |