Memory maps

2001-04-02 Thread Fu-hau Hsu
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?

code region

2001-03-19 Thread Fu-hau Hsu
Dear friends: I have a question about memory protection. I appreciate any suggestion. Thank you so much. Given a virtual address, how can we know whether this address contains an executable code? If there is a method that can be used to answer the above question, is there any exce