Is there a better way in Linux to query a memory mapping than text parsing /proc/self/maps?

21 views Asked by At

In Linux/Android, is there a way to get information about a virtual address in the current process--such as the base address of the mapping--without writing a complicated text parser to understand /proc/self/maps? (Which also takes O(n) time.)

Essentially, an equivalent of Windows VirtualQuery and macOS/iOS mach_vm_region_info_64.

0

There are 0 answers