C++ tips and tricks for MacOS X

Xcode 4

I had to do some fancy debugging of a C++ dylib and while I was searching around the internet, I came accross this article from Apple: C++ features in MacOS X.

I also found two cool articles that describe well how the dlopen application works and what happens to your symbols when an application bundle loads your dylibs:

Dynamic Linking of Imported Functions in Mach-O

Redirection of Imported Functions in Mach-O

I also found a cool programs that shows you what the load might look like in a particular dylib. This is a very useful tool:

MachOView

Related posts
MacDependency

Leave a Reply

Your email address will not be published. Required fields are marked *