64-bit toolchains in the new NDK releases are missing __system_property_*
symbols. ASan needs those to read asan.options on startup.
Workarounds:
1. Go through Java. Not an option, as there is no Java (either that early, or
at all, in the case of a standalone executable).
2. open a device (or is it a file?) and parse properties in sanitizer code.
They are kept in a trie, so that could be complicated. Also, fragile.
3. dlopen libcutils.so and find property_get() or something.
4. fork-exec /system/bin/getprop
Original issue reported on code.google.com by euge...@google.com on 9 Jun 2015 at 11:01
Original issue reported on code.google.com by
euge...@google.com
on 9 Jun 2015 at 11:01