On Thursday, 17 September 2015 at 19:20:34 UTC, Jacob Carlborg wrote:
On 2015-09-17 18:20, bitwise wrote:

dyld_register_image_state_change_handler does not provide a way to
unregister the callback either, so I don't see how this helps.

The dynamic library holding the callback is pinned. See the implementation of registerImageStateSingleChangeHandler, the first few lines.

[1] http://www.opensource.apple.com/source/dyld/dyld-353.2.3/src/dyld.cpp

Ok, but this kinda defeats the purpose, as the op wants to unload the library ;)

    Bit

Reply via email to