I have a C# app that uses readprocessmemory that I'm rewriting for mac.
here's a write up on that topic: http://nntp.pl/readprocessmemory-and-writeprocessmemory-on-os-x/ (check out the linked pdf)
(sorry for necroing but google spits this thread here out as on of the few results for that topic and there's not much useful info in this topic)
ReadProcessMemory() -> vm_read_overwrite()
WriteProcessMemory() -> vm_write()