开发者

Is there a Linux API for gathering information about mmap'ed regions?

I know I can read the file /proc/$PID/maps, but I was wondering if there is an A开发者_运维百科PI to get process memory mappings.


There is no API in kernel to get this information in 1 syscall. The only universal way is to read and parse a /proc/self/maps file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜