On 2015-05-29 18:45, bitwise wrote:
I'm going to test it out this weekend, but if I do get the wrong address, I think I can add a symbol with "__attribute__ ((visibility ("hidden")))" and use dladdr on that instead. I don't think hidden symbols should collide.
Doesn't "dlopen" open the current image if "null" is passed? And that void* which is returned is actually a "mach_header*", if I recall correctly.
-- /Jacob Carlborg