diff options
author | Elliott Hughes <enh@google.com> | 2022-02-17 11:55:49 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2022-02-17 11:55:49 -0800 |
commit | 82c90724e3b650391f467e8cfeb55934c2ba1dab (patch) | |
tree | 9e14cb066420ae67e242c232fb83847ce19a56ae /tests/dlfcn_test.cpp | |
parent | ab74e3260a4521cf8040de6aeb9356b86e9aacdf (diff) | |
download | bionic-82c90724e3b650391f467e8cfeb55934c2ba1dab.tar.gz |
Explain why we test ifunc variables.
Bug: http://b/218788252
Test: treehugger
Change-Id: I51825ab61adeaf6f1242df9a22f89cbd0671db48
Diffstat (limited to 'tests/dlfcn_test.cpp')
-rw-r--r-- | tests/dlfcn_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dlfcn_test.cpp b/tests/dlfcn_test.cpp index 0bf877507..e3664fd97 100644 --- a/tests/dlfcn_test.cpp +++ b/tests/dlfcn_test.cpp @@ -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)(); |