On OS X, the are two huge drawbacks to having a static library (.a) as a runtime:
- Interceptors don't work -- and SafeStack relies on intercepting pthread_create.
- Having multiple instrumented modules (frameworks, dylibs, bundles) in a single process is problematic and requires special care when building each module.
Let's make the runtime a dynamic library, just like the other sanitizers (ASan, TSan).
How do you address this now?