Open CeNiEi opened 1 year ago
If upstream says so, yeah, it's obsolete. But providing it doesn't harm and users can choose what they use (note that this crate just exposes the items what mach does). If upstream removes it, I'm happy to say good-bye to it on this crate :)
It seems that the function
task_for_pid
is obsolete. After looking at some source files, I found this inmach_traps.h
:Event though i have found a lot resources related to debugging on mac, which mention this function call as the gateway to rest of the functionality like manipulating registers, I could not find this function on apple's mach documentation. https://developer.apple.com/search/?q=task_for_pid&type=Documentation
So is this function now deprecated, and if it is what should be used in its place?