I have dylib that I can download via injection on mac os x. The design challenge works well.
__attribute__((constructor)) static void initialize()
But the destructor is not called? In this way, resources initiate leaks.
__attribute__((destructor)) static void destroy()
1, 2: . - , , (, , , ..) .
3: , . , - dlopen(), , , , dlclose(); NSBundle - .
dlopen()
dlclose()
NSBundle
, . , , ObjC, .