UBSAN on Android.

Is UBSAN on android for ARM target known to work?

I know ASAN does work.

–Sumanth G

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.

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.