4

I need to get the filenames of all memory mapped libraries of the current application. Currently I'm going through all mapped libraries via vm_region. Sadly it doesn't provide information about the filename of the current region. Is there a way to get this information in c without doing popen on vmmap ?

nux
  • 355
  • 3
  • 10
  • 1
    Does this post help? http://stackoverflow.com/questions/1627998/retrieving-the-memory-map-of-its-own-process-in-os-x-10-5-10-6 – askmish Oct 19 '12 at 11:05

1 Answers1

1
Community
  • 1
  • 1
Nickolay
  • 29,618
  • 12
  • 101
  • 174