From owner-freebsd-hackers Fri Nov 17 03:44:39 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA27247 for hackers-outgoing; Fri, 17 Nov 1995 03:44:39 -0800 Received: from ccslinux.dlsu.edu.ph (gavin@linux1.dlsu.edu.ph [165.220.8.15]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA27147 for ; Fri, 17 Nov 1995 03:43:39 -0800 Received: (from gavin@localhost) by ccslinux.dlsu.edu.ph (8.6.11/8.6.9) id TAA08317; Fri, 17 Nov 1995 19:46:27 +0800 Date: Fri, 17 Nov 1995 19:46:25 +0800 (GMT+0800) From: Gavin Lim To: hackers@freebsd.org Subject: ptrace() Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk How do you use the ptrace() call? We cannot find any documentation for it. We are trying to use ptrace() to get the process's data and text segments, also the proc structure and the user structure. How do we do this using ptrace()? We'd appreciate if you could include sample code to use ptrace. Thanks!