Merge "Explain why we test ifunc variables." am: 5d3c384fa4
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1990811 Change-Id: I2f395eb3ee1f34e5928fb280fd502155879dabfd
This commit is contained in:
commit
7628c4797d
1 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,9 @@ TEST(dlfcn, dlopen_vdso) {
|
|||
dlclose(handle);
|
||||
}
|
||||
|
||||
// HWASan uses an ifunc to describe the location of its shadow memory,
|
||||
// so even though it's an unusual case, Android needs to support
|
||||
// "ifunc variables".
|
||||
TEST(dlfcn, ifunc_variable) {
|
||||
typedef const char* (*fn_ptr)();
|
||||
|
||||
|
|
Loading…
Reference in a new issue