<div dir="ltr"><div class="gmail_extra">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.</div>
<div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 23, 2014 at 4:02 PM, Alexey Samsonov <span dir="ltr"><<a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I'm not aware of any attempts to build/use UBSan on Android.<div>Porting it shouldn't be hard, as UBSan code itself is pretty lightweight compared to ASan or sanitizer_common library.</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote"><div><div class="h5">On Wed, Jul 23, 2014 at 3:06 PM, sgundapa <span dir="ltr"><<a href="mailto:sgundapa@codeaurora.org" target="_blank">sgundapa@codeaurora.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Is UBSAN on android for ARM target known to work?<u></u><u></u></p><p class="MsoNormal">I know ASAN does work.<u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p>
<p class="MsoNormal">--Sumanth G<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br></div></div>_______________________________________________<br>


LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div>

</font></span></div>
</blockquote></div><br></div></div>