If you build llvm-symbolizer binary (it's in the LLVM source tree,
cross-compile it to Android) and push it to /system/bin, then
symbolization will just work.


On Tue, Sep 2, 2014 at 7:05 AM, ji wang <[email protected]> wrote:
> I think its very useful to add the function name to the asan output
> recently, which needs in-process symbolization in Asan runtime.
> I've checked the asan runtime source code on android platform, found out
> "__sanitizer_symbolize_data" and "__sanitizer_symbolize_code" unimplemented.
> What should I do to implement those function and make the symbolization
> works? Or is there any other way to symbolizing ASan output on Android?
>
>   char *SendCommand(bool is_data, const char *module_name, uptr
> module_offset) {
>     SanitizerSymbolizeFn symbolize_fn = is_data ? __sanitizer_symbolize_data
>                                                 :
> __sanitizer_symbolize_code;
>     if (symbolize_fn(module_name, module_offset, buffer_, kBufferSize))
>       return buffer_;
>     return 0;
>   }
>
> --
> You received this message because you are subscribed to the Google Groups
> "address-sanitizer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to