Date: Fri, 28 Jan 2000 02:49:34 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Thomas Klein <Thomas.Klein@KryptoKom.DE> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: how to catch a wildrunning pointer Message-ID: <20000128024934.D7157@fw.wintelcom.net> In-Reply-To: <C1256874.00380F21.00@nt-notes.kryptokom.de>; from Thomas.Klein@KryptoKom.DE on Fri, Jan 28, 2000 at 11:12:17AM %2B0100 References: <C1256874.00380F21.00@nt-notes.kryptokom.de>
next in thread | previous in thread | raw e-mail | index | archive | help
* Thomas Klein <Thomas.Klein@KryptoKom.DE> [000128 02:42] wrote: > > > Hi > > My Problem: > Within a kernel timeout routine I allocate memory and fill it with data. > After a while I lock at this data again and realize that it it was modifyted > (but not by me). > How can I set a kernel mode watch point to that data to see which function > change the data. > > Any Ideas ???? Look at the vm code, you can probably write protect the pages while you aren't accessing them, this will cause offending code to panic the machine so you can figure out who is twiddling your bits. Of course you'll have to unprotect the memory when you want to access it for legitimate reasons. You owe the oracle a how-to on acually doing this, a paragraph or two would suffice. thanks, -Or^H^HAlfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000128024934.D7157>