[英]Contents of a programs memory (Mac)
Is there a utility that will show me a program's current memory contents? 是否有一个实用程序可以显示程序当前的内存内容? Like a hex dump of the entire memory being used by the program?
就像程序使用的整个内存的十六进制转储一样? Thanks.
谢谢。
My utility, Bit Slicer , which runs on 10.6 or later can do this for regular applications. 我的实用程序Bit Slicer在10.6或更高版本上运行可以在常规应用程序中执行此操作。
1) Run the program and select a target process. 1)运行程序并选择目标进程。
2) Go to Tools -> Dump All Memory... This will save all the current readable memory in a directory with a bunch of files each indicating a particular memory region and a file that merges everything as well. 2)转到工具 - >转储所有内存...这将保存目录中的所有当前可读内存,其中包含一组文件,每个文件指示一个特定的内存区域和一个合并所有内容的文件。 These files can then be viewed with a hex editor.
然后可以使用十六进制编辑器查看这些文件。
3) There's also the real-time memory viewer in the Memory menu for looking at a particular spot. 3)Memory菜单中还有实时内存查看器,用于查看特定位置。
Dmalloc - Debug Malloc Library Dmalloc - 调试Malloc库
This program came with OS 10.6 but it seems to have disappeared with OS 10.7 (which has many, many, many ... programming complications). 这个程序随OS 10一起提供,但似乎已经在OS 10.7中消失了(它有许多很多很多......编程复杂化)。 Excluding 10.7 regrets, Dmalloc is wonderful way to examine every memory allocation.
排除10.7遗憾,Dmalloc是检查每个内存分配的绝佳方式。
Ah ha... 啊哈......
Mac OS 10.7 provides Menu-Product-Profile. Mac OS 10.7提供了Menu-Product-Profile。 I have not investigated fully used it, however, I recognize the Dmalloc icon within it.
我没有调查完全使用它,但是,我认识到其中的Dmalloc图标。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.