platform_bionic/libdl
Peter Collingbourne 191ecdc49b Fix a few bionic test failures caused by hwasan global instrumentation.
The call to the load hook needs to be moved before the call to link_image()
because the latter calls ifunc resolvers which might access global
variables. This fixes a bunch of ifunc tests.

The dlfcn.segment_gap test is currently failing. One problem is that the name
of the .bss.end_of_gap section changes as a result of global instrumentation.
Add some wildcards in so that we match both names. The other problem seems
to be the same as b/139089152.

It turns out that we need to untag pointers in a few more places. Since we have
quite a few of these now it seems worth creating a function for it.

Test: bionic-unit-tests
Change-Id: I44e2b0904faacdda7cc0c5e844ffc09de01dea2d
2019-08-15 09:21:34 -07:00
..
Android.bp Merge "Enable native_bridge_support" 2019-05-07 11:30:58 +00:00
libdl.cpp Fix CtsJniTestCases 2019-04-01 13:17:20 +02:00
libdl.map.txt Fix CtsJniTestCases 2019-04-01 13:17:20 +02:00
libdl_android.cpp Fix formatting 2019-04-01 13:16:33 +02:00
libdl_android.map.txt Move platform-private symbols out of libdl.so 2019-04-01 13:16:33 +02:00
libdl_cfi.cpp Fix a few bionic test failures caused by hwasan global instrumentation. 2019-08-15 09:21:34 -07:00
libdl_static.cpp libdl.a: make dlerror() always report an error. 2019-04-22 08:43:57 -07:00
MODULE_LICENSE_APACHE2 Move libdl and linker to static NOTICE files. 2019-04-19 14:18:07 -07:00
NOTICE Move libdl and linker to static NOTICE files. 2019-04-19 14:18:07 -07:00