|
From: Nicholas N. <n.n...@gm...> - 2009-02-24 05:52:42
|
Hi, On Darwin, the first memory page is inaccessible. This is achieved by the system allocating it but marking it as not readable, writable or executable. But Memcheck views this as addressable and doesn't complain if you access it. This is a bit weird. Maybe Memcheck should mark such memory as unaddressable? It's changing the meaning of "unaddressable" slightly, but seems like the best thing we can do without tracking r/w/x individually... Nick |