Oracle Solaris Studio 12.2:使用 dbx 调试程序

语法

mmapfile mmapped_file address offset length

查看从核心转储中丢失的内存映射文件的内容。

其中:

mmapped_file 是核心转储期间映射内存的文件的文件名。

address 是进程地址空间的起始地址。

length 是要查看的地址空间的字节长度。

offset 是距离 mmapped_file 中的起始地址的字节偏移。