|
From: rak <ra...@ho...> - 2006-02-24 17:25:12
|
> On Thu, 23 Feb 2006, rak wrote: > > > VALGRIND_MAKE_NOACCESS(addr, numbytes); > > can this be used with static/global variables > > Yes. MAKE_NOACCESS is the right thing to use. Our use of the term "readable" is a bit confusing, because it really means "readable and writable". Is there any way i can mark certain variables readonly, As i am having problem with static variables. I marked some static variables as noaccess but they were more than 30000 read problems where as i was tring to track writes. Thanks and appreciate your time & help, Rak |