github.com/eh-steve/goloader@v0.0.0-20240111193454-90ff3cfdae39/mmap/manager_darwin.go (about) 1 //go:build darwin 2 // +build darwin 3 4 package mmap 5 6 import ( 7 "github.com/eh-steve/goloader/mmap/mapping" 8 "github.com/eh-steve/goloader/mmap/vmmap" 9 ) 10 11 // https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/Articles/VMPages.html 12 func getCurrentProcMaps() ([]mapping.Mapping, error) { 13 return vmmap.Vmmap() 14 }