Date: Mon, 29 Oct 2001 22:13:52 -0800 (PST) From: mw@lanfear.com To: freebsd-questions@freebsd.org Subject: Memory Checking functions? Message-ID: <20011030061352.2DBE437B401@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
hello! Are there are any functions available outside of kernel-land to verify the validity of a memory pointer? I.e. I'd love to have something like: isPointerValid(stringPointer); which returns false if it definitely points to invalid memory, and true if it at least points to valid memory (which doesn't mean it's still good, but means my program won't fault if i dereference it). knowning whether i'm allowed to write to that memory would be sweet too. Does this exist at all? Thanks, mark. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011030061352.2DBE437B401>