From owner-freebsd-questions Thu Jun 20 21:30: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from akhe22qcy12il.ab.hsia.telus.net (akhe22qcy12il.ab.hsia.telus.net [66.222.168.78]) by hub.freebsd.org (Postfix) with ESMTP id 0A51E37B40A for ; Thu, 20 Jun 2002 21:30:00 -0700 (PDT) Received: from there (vasya [192.168.4.2]) by akhe22qcy12il.ab.hsia.telus.net (8.11.6/8.11.6) with SMTP id g5L4Trq53694 for ; Thu, 20 Jun 2002 22:29:54 -0600 (MDT) (envelope-from soralx@cydem.zp.ua) Message-Id: <200206210429.g5L4Trq53694@akhe22qcy12il.ab.hsia.telus.net> Content-Type: text/plain; charset="koi8-r" From: To: freebsd-questions@freebsd.org Date: Thu, 20 Jun 2002 22:29:48 -0600 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Is it possible to determine memory offset of a variable (data segment) in compiled C program (not touching the source code)? Is the address in the ELF Program Header static, or it's initialized dynamically? The variable is probably in uninitialized data section, which should be at the end of the segment? Plz, CC - not subscribed 20.06.2002; 22:36:47 [SorAlx] http://cydem.zp.ua/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message