CAGRI KOKSAL wrote:

> Does any body know how I can learn the beginning and ending addresses of
> data and stack segments of a linux process from its a.out binary ?

I have no idea, although libbfd might be of use; see the BFD info file
for more details.

> I looked at the a.out.h file for exec structure but I got confused,

In most cases, a.out.h is the wrong place to be looking. Virtually
everyone uses ELF nowadays. The default name of the linker's output
file being a.out is a historical artifact; it doesn't indicate that
the file is in a.out format.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to