Essentially, I am looking for an answer to this question: Is there a way to inspect the current rpath on Linux?, but for OSX. I want to programmatically get the RPATH entries for the current process in OSX. I know how to do this using the shell, but I'm looking for a method to internally inspect my process.
Thank you!