<div dir="ltr">+eugenis</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 21, 2013 at 4:47 AM, Greg Fitzgerald <span dir="ltr"><<a href="mailto:garious@gmail.com" target="_blank">garious@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From:<br>
<a href="http://address-sanitizer.googlecode.com/svn-history/r1624/wiki/Android.wiki" target="_blank">http://address-sanitizer.googlecode.com/svn-history/r1624/wiki/Android.wiki</a><br>
<br>
> AddressSanitizer is fully supported in AOSP starting with JellyBean release. To run<br>
> applications built with ASan you'll need an -eng build of Android.<br>
><br>
> To build any part of Android system with ASan, add<br>
> LOCAL_ADDRESS_SANITIZER:=true to the appropriate Android.mk.<br>
<br>
I don't see that string 'LOCAL_ADDRESS_SANITIZER' in the latest NDK<br>
(r8e).  The wiki mentions needing an "-eng" build.  Do I need that<br>
"-eng" because it includs bug-fixes needed by the ASan runtime?  or<br>
can I move forward with just an upgraded build system?  If so, is the<br>
Makefile that processes that variable available online?  I attempted<br>
to use asan by just adding "-fsanitize=address" to cflags/ldflags and<br>
preloading the runtime, but my "hello-jni" app died on startup.  Are<br>
there additional flags I need to remove or defines to add?<br>
<br>
Thanks,<br>
Greg<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div>
</div>