本文介绍了显示程序占用的所有内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请大家推荐一个程序告诉我们给定c程序占用的memry

地址范围?

Can you all please suggest a program which tell us the range of memry
addresses occupied by the given c program?

推荐答案



不能在便携式标准C中完成。尝试在新闻组中询问

处理您的操作系统。 />

-

Keith Thompson(The_Other_Keith)< http://www.ghoti.net/~kst>

圣地亚哥超级计算机中心< *< http://users.sdsc.edu/~kst>

我们必须做点什么。这是事情。因此,我们必须这样做。

- Antony Jay和Jonathan Lynn,是部长

It can''t be done in portable standard C. Try asking in a newsgroup
that deals with your operating system.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"




gmemusage




具体是SGI IRIX,但你刚要求* a *程序,没有

表示有用的操作系统的任何内容

用于您的目的。


绝对没有办法获取有关内存地址的信息

的范围是纯粹的C,而且这种

a设施似乎不太可能被添加到C中;一方面,它有点

很难定义地址范围对嵌入式

系统意味着什么。有关内存地址范围的信息本身就是系统特定的b $ b,因此您需要在处理操作系统的

新闻组中继续调查。


-

没有人有权通过

要求经验证据来摧毁他人的信念。 - Ann Landers

gmemusage

http://techpubs.sgi.com/library/tpl/...t1/gmemusage.z

It is SGI IRIX specific, but you just asked for *a* program, without
indicating anything about the operating systems that are useful
for your purposes.

There is absolutely no way to get information about memory address
ranges through pure C, and it seems highly unlikely that such
a facility would ever be added to C; for one thing, it''s kinda
difficult to define what the address ranges should mean for embedded
systems. Information about memory address ranges is inherently system
specific, so you will need to continue your investigations in a
newsgroup that deals with your operating system.

--
"No one has the right to destroy another person''s belief by
demanding empirical evidence." -- Ann Landers




编号偏离主题。


-

< http:// www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>

< http://www.securityfocus.com/columnists/423>

< http://www.aaxnet.com/editor/edit043.html>

< http://kadaitcha.cx/vista/dogsbreakfast/index.html>

cbfalconer at maineline dot net


-

通过免费的Usenet帐户发布

No. Off-topic.

--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
<http://kadaitcha.cx/vista/dogsbreakfast/index.html>
cbfalconer at maineline dot net

--
Posted via a free Usenet account from http://www.teranews.com


这篇关于显示程序占用的所有内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 09:23