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

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to