Date: Thu, 08 Jun 2006 12:26:44 +0300 From: Tofik Suleymanov <tofik@oxygen.az> To: David Nugent <davidn@datalinktech.com.au> Cc: Tofik Suleymanov <tofik@oxygen.az>, freebsd-stable@FreeBSD.ORG Subject: Re: reading process memory Message-ID: <4487ED54.8080708@oxygen.az> In-Reply-To: <448777B1.5030308@datalinktech.com.au> References: <4486A111.6020300@oxygen.az> <ED5EC8BD-0A92-4D73-BC01-48FD930311FF@wisc.edu> <4486EFC8.6080601@oxygen.az> <448777B1.5030308@datalinktech.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
David Nugent wrote: > Tofik Suleymanov wrote: >> Thank you for brief and altogether extensive explanation of the >> case.The thing i wanted to do is to read let's say portions of memory >> where .bss and .data block of a running program reside. >> >> is that possible ? > Yes. Debuggers offer this functionality, for example. > > man 2 ptrace > > Everything is pretty clear from ptrace(2) manpage but where do i get addr argument ? The addr argument specifies the address (in the traced process's virtual address space) at which the read is to be done. This address does not have to meet any alignment constraints. ? Sincerely, Tofik Suleymanov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4487ED54.8080708>