Is UBSAN on android for ARM target known to work? I know ASAN does work. --Sumanth G -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140723/9ea92700/attachment.html>
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. On Wed, Jul 23, 2014 at 3:06 PM, sgundapa <sgundapa at codeaurora.org> wrote:> Is UBSAN on android for ARM target known to work? > > I know ASAN does work. > > > > --Sumanth G > > > > > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-- Alexey Samsonov vonosmas at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140723/42986f16/attachment.html>
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 <vonosmas at gmail.com> 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. > > > On Wed, Jul 23, 2014 at 3:06 PM, sgundapa <sgundapa at codeaurora.org> wrote: > >> Is UBSAN on android for ARM target known to work? >> >> I know ASAN does work. >> >> >> >> --Sumanth G >> >> >> >> >> >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> > > > -- > Alexey Samsonov > vonosmas at gmail.com >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140723/07b3037e/attachment.html>
Seemingly Similar Threads
- [LLVMdev] [compiler-rt] CMake bug in building ARM builtins library
- [LLVMdev] [RFC] Parsing runtime flags in sanitizers (ASan/LSan/UBSan)
- [LLVMdev] [RFC] Parsing runtime flags in sanitizers (ASan/LSan/UBSan)
- [LLVMdev] [compiler-rt] CMake bug in building ARM builtins library
- [LLVMdev] [compiler-rt] CMake bug in building ARM builtins library