简体   繁体   中英

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.

1) Run the program and select a target process.

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. 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.

Dmalloc - Debug Malloc Library

This program came with OS 10.6 but it seems to have disappeared with OS 10.7 (which has many, many, many ... programming complications). Excluding 10.7 regrets, Dmalloc is wonderful way to examine every memory allocation.

Ah ha...

Mac OS 10.7 provides Menu-Product-Profile. I have not investigated fully used it, however, I recognize the Dmalloc icon within it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM