Memory maps

From: Fu-hau Hsu (fhsu@ic.sunysb.edu)
Date: Mon Apr 02 2001 - 15:25:11 EST


Dear freinds:

 I have following questions about memory maps. I appreciate any
suggestion.

 Q. (1)When a process is running, how can I get the range of data, stack,
       and code segments, say the stack segment is from address 0x..... to
       0x..... so do data segments and code segments?
       PS: Under ELF format, there are several seperaed code and data
           segments, but the process control table has only one pair of
           pointers for each, Are the pointers still useful?
    
    (2) /proc/*/maps will show us those info, but how does it get these
       info?

FuHau

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 07 2001 - 21:00:10 EST