Hi,
We now want use LLVM Asan to check some android libs like libhwui.so, but 
found out is not very easy to use. Is there any way to solve this? Or I use 
it the wrong way?
The problem is we must preload libasan_preload.so before those checking lib 
initlized or used in some processes. For example, when we want check 
libhwui.so,we must modify init.rc to use asanwrapper to load mediaserver 
process in order to preload libasan_preload.so , (and the same to 
app_process,of cource the asan_device_setup.sh already done the app_process 
part,) otherwise without this step android device will got boot error 
failure.This will ask us have to know how many processes use this checking 
lib and what those processes are exactly! wow..
Besides, there is one more problem, when we use LLVM asan, after 
use asan_device_setup.sh to install asan to our device, we didnot add any 
libs or binary for check, but still got a huge memory cost after the device 
bootup, and for 1G ram android devices, we got boot failure, becauce of the 
LMK kill launcher and some other app process for no memory lost!
 

-- 
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 address-sanitizer+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to