I have a dylib written in C++ which has an overloaded operator new and delete.
When a link my cocoa application with my dylib I have a BAD_ACCESS_ERROR because Cocoa tries to free memory with my operator delete from my dylib.
So I think that I can use the unexported_symbols_list options, but what is the decorated names for operator delete, delete[], new, new[], new(..)?
You can use the
nmtool to extract the exported symbols from your lib andc++filtto demangle then and find which ones correspond to the mentioned operators.