Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 18:42:32 -0600
From:      <soralx@cydem.zp.ua>
To:        freebsd-questions@freebsd.org
Subject:   ELF, memory offset
Message-ID:  <200206280042.g5S0gZU40953@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 static in the ELF Program Header, 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

(Sorry for resending - I forgot 'Subject:', so I thought
that most ppl just ignored my msg)

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?200206280042.g5S0gZU40953>