From owner-freebsd-questions Mon Oct 29 22:14:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from akira.lanfear.com (akira.lanfear.com [216.168.61.84]) by hub.freebsd.org (Postfix) with SMTP id 2DBE437B401 for ; Mon, 29 Oct 2001 22:13:52 -0800 (PST) Received: (qmail 3733 invoked from network); 30 Oct 2001 06:13:41 -0000 Received: from c1854262-a.sttln1.wa.home.com (HELO sakura) (24.255.90.101) by akira.lanfear.com with SMTP; 30 Oct 2001 06:13:41 -0000 From: mw@lanfear.com To: freebsd-questions@freebsd.org Subject: Memory Checking functions? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Kiltdown 0.7 Message-Id: <20011030061352.2DBE437B401@hub.freebsd.org> Date: Mon, 29 Oct 2001 22:13:52 -0800 (PST) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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