Program Memory Content (Mac)

Is there a utility that will show me the current contents of the current program? How to hex dump all the memory used by a program? Thanks.

+6
source share
2 answers

My Bit Slicer utility, which works with 10.6 or later, can do this for regular applications.

1) Run the program and select the target process.

2) Go to Tools β†’ Dump all memory ... This will save all current readable memory in a directory with a bunch of files, each of which points to a specific area of ​​memory and a file that also combines everything. Then these files can be viewed using the hex editor.

3) Also in the memory viewing mode in the "Memory" mode, there is a real-time memory viewer for viewing a specific place.

+7
source

Dmalloc - Debug Malloc Library

This program ships 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 a great way to learn every memory allocation.

Yeah ...

Mac OS 10.7 provides a product profile menu. I did not examine it completely, but I recognized the Dmalloc badge inside it.

+1
source

Source: https://habr.com/ru/post/894336/


All Articles