4 ms·
One issue on OSX is multi-level namespaces; I had to recompile with a flag to disable them in order to hook malloc/free, for example.
by ndesaulniers 8y ago
One issue on OSX is multi-level namespaces; I had to recompile with a flag to disable them in order to hook malloc/free, for example.
- tinix 8y agoYeah if you dig you'd find this: https://github.com/gordol/ld_preload-sounds/issues/4#issuecomment-64764395 https://github.com/gordol/ld_preload-sounds/issues/4#issueco... ;)
- Hackbraten 8y agoIn case you can’t recompile, you should be able to do the same thing with `DYLD_FORCE_FLAT_NAMESPACE=1`.
- ndesaulniers 8y agoWhere have you been all my life?