[PATCH] Document the LD_PRELOAD workaround.
Bug: N/A Test: N/A Change-Id: Ifbc6eb3c7f77e3f2e5a29b505b982880d96c5ab0
This commit is contained in:
parent
6cfd9a1071
commit
8e4b6b695e
|
@ -66,6 +66,14 @@ the local group. This allows ASAN, for example, to ensure that it can
|
|||
intercept any symbol.
|
||||
|
||||
|
||||
## LD_PRELOAD and 32/64 bit
|
||||
|
||||
LD_PRELOAD applies to both 32- and 64-bit processes. This means that you
|
||||
should avoid saying something like `/system/lib/libfoo.so` and just say
|
||||
`libfoo.so` instead, letting the dynamic linker find the correct library
|
||||
on its search path.
|
||||
|
||||
|
||||
## RTLD_LOCAL (Available in API level >= 23)
|
||||
|
||||
The dlopen(3) RTLD_LOCAL flag used to be ignored but is implemented
|
||||
|
|
Loading…
Reference in New Issue