On 11/12/13 5:10 PM, Vladimir Panteleev wrote:
* Pointers and class references: size_t.max - 65_535, i.e. 64K below
the upper memory limit. On all systems I know it can be safely assumed
that that area will cause GPF when accessed.

Make that value odd. That will also guarantee a GPF on systems where
unaligned pointer access is forbidden.

Ha, I missed that. Nice!

Andrei

Reply via email to