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