Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 392 by [email protected]: [android] system property access from native code is going away
https://code.google.com/p/address-sanitizer/issues/detail?id=392

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


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
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