[LLVMdev] [ASan] static linking on android?
Kostya Serebryany
kcc at google.com
Fri Sep 20 22:45:26 PDT 2013
+eugenis@
On Sat, Sep 21, 2013 at 4:58 AM, Greg Fitzgerald <garious at gmail.com> wrote:
> Why does compiler-rt ship a shared object for ASan on Android instead
> of a static library? Would statically linking ASan on Android at
> least be safe for standalone executables?
>
> And if I'm wanting to use ASan in C++ code that is invoked from an
> APK, can I statically link ASan? If not, what is the reason we need
> to preload Dalvik with the ASan shared object? I assume static
> linking here would mean that ASan would miss leaks and overflows in
> Dalvik, but are there other drawbacks?
>
> Thanks,
> Greg
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130921/cd8bd287/attachment.html>
More information about the llvm-dev
mailing list