The UBSan code is intended to be portable (other than the vptr sanitizer, which makes lots of assumptions about the Itanium C++ ABI). I think all that is likely to be required is to teach the compiler-rt build system to build the runtime for Android and to teach the Clang driver to link to the right libraries.
On Wed, Jul 23, 2014 at 4:02 PM, Alexey Samsonov <[hidden email]> wrote:
I'm not aware of any attempts to build/use UBSan on Android.
Porting it shouldn't be hard, as UBSan code itself is pretty lightweight compared to ASan or sanitizer_common library.