On 2015-09-19 18:53, Martin Nowak wrote:

Yikes, pinning the library is really ugly hack around the actual issue.
Anyone has an idea how to use the crappy dyld API w/o crashing on unload?

I don't think it possible since there's no API to unregister the callback.

If nothing helps we could try to add init/fini calls to binaries like we
do w/ ELF.

I think this would be best choice. That's how the libSystem (the C standard library and a couple of other libraries) is initialized.

--
/Jacob Carlborg

Reply via email to