commit | 5d3c384fa4d35314cf6846780d4a768a1b8bfaab | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Feb 17 22:04:08 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Feb 17 22:04:08 2022 +0000 |
tree | 83b39b762c3b048883fa0dc1d68a386a1dbd11a4 | |
parent | afc77a08b4c39a0ebcd226334945f2c46c78c945 [diff] | |
parent | 82c90724e3b650391f467e8cfeb55934c2ba1dab [diff] |
Merge "Explain why we test ifunc variables."
diff --git a/tests/dlfcn_test.cpp b/tests/dlfcn_test.cpp index 0bf8775..e3664fd 100644 --- a/tests/dlfcn_test.cpp +++ b/tests/dlfcn_test.cpp
@@ -258,6 +258,9 @@ 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)();