Date: Thu, 20 Jun 2002 22:29:48 -0600 From: <soralx@cydem.zp.ua> To: freebsd-questions@freebsd.org Message-ID: <200206210429.g5L4Trq53694@akhe22qcy12il.ab.hsia.telus.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206210429.g5L4Trq53694>