开发者

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

开发者 https://www.devze.com 2023-01-25 00:39 出处:网络
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 onl

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

精彩评论

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