Lines Matching refs:dlerror
40 ASSERT_TRUE(ptr != nullptr) << "dlerror: " << dlerror()
43 ASSERT_EQ(0, i) << "dlerror: " << dlerror()
78 …en failed: library \"" LIBNAME_NORELRO "\" wasn't loaded and RTLD_NOLOAD prevented it", dlerror()); in SetUp()
166 …n failed: file offset for the library \"libname_placeholder\" is not page-aligned: 17", dlerror()); in TEST_F()
172 …BSTR("dlopen failed: file offset for the library \"libname_placeholder\" >= file size", dlerror()); in TEST_F()
177 …UBSTR("dlopen failed: file offset for the library \"libname_placeholder\" is negative", dlerror()); in TEST_F()
182 ASSERT_EQ("dlopen failed: \"" + lib_realpath + "\" has bad ELF magic", dlerror()); in TEST_F()
200 …tion (ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET without ANDROID_DLEXT_USE_LIBRARY_FD): 0x20", dlerror()); in TEST_F()
241 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
255 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
259 ASSERT_TRUE(fn != nullptr) << dlerror(); in TEST()
262 ASSERT_TRUE(p != nullptr) << dlerror(); in TEST()
275 ASSERT_TRUE(android_update_LD_LIBRARY_PATH != nullptr) << dlerror(); in TEST()
283 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
437 fprintf(stderr, "in child: %s\n", dlerror()); in CreateRelroFile()
577 fprintf(stderr, "in child: %s\n", dlerror()); in SpawnChildrenAndMeasurePss()
631 "\"libnstest_public.so\" was not found in the default namespace", dlerror()); in TEST()
637 ASSERT_TRUE(handle_public != nullptr) << dlerror(); in TEST()
639 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr)) << dlerror(); in TEST()
646 ASSERT_TRUE(handle_public != nullptr) << dlerror(); in TEST()
652 ASSERT_TRUE(ns1 != nullptr) << dlerror(); in TEST()
658 ASSERT_TRUE(ns2 != nullptr) << dlerror(); in TEST()
663 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
671 ASSERT_TRUE(handle1 != nullptr) << dlerror(); in TEST()
675 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
682 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
690 ASSERT_TRUE(ns_get_local_string1 != nullptr) << dlerror(); in TEST()
692 ASSERT_TRUE(ns_get_local_string2 != nullptr) << dlerror(); in TEST()
701 ASSERT_TRUE(ns_get_private_extern_string1 != nullptr) << dlerror(); in TEST()
704 ASSERT_TRUE(ns_get_private_extern_string2 != nullptr) << dlerror(); in TEST()
713 ASSERT_TRUE(ns_get_public_extern_string1 != nullptr) << dlerror(); in TEST()
716 ASSERT_TRUE(ns_get_public_extern_string2 != nullptr) << dlerror(); in TEST()
723 ASSERT_TRUE(ns_get_dlopened_string1 != nullptr) << dlerror(); in TEST()
725 ASSERT_TRUE(ns_get_dlopened_string2 != nullptr) << dlerror(); in TEST()
750 ASSERT_TRUE(handle_public != nullptr) << dlerror(); in TEST()
754 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr)) << dlerror(); in TEST()
760 ASSERT_TRUE(ns_not_isolated != nullptr) << dlerror(); in TEST()
769 ASSERT_TRUE(ns_isolated != nullptr) << dlerror(); in TEST()
778 ASSERT_TRUE(ns_isolated2 != nullptr) << dlerror(); in TEST()
781 ASSERT_STREQ("dlopen failed: library \"libnstest_root_not_isolated.so\" not found", dlerror()); in TEST()
789 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
796 ASSERT_TRUE(handle1 != nullptr) << dlerror(); in TEST()
802 ASSERT_STREQ("dlopen failed: library \"libnstest_private_external.so\" not found", dlerror()); in TEST()
809 " for the namespace \"private_isolated1\"", dlerror()); in TEST()
815 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
820 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
825 ASSERT_TRUE(ns_get_local_string != nullptr) << dlerror(); in TEST()
831 ASSERT_TRUE(ns_get_private_extern_string != nullptr) << dlerror(); in TEST()
837 ASSERT_TRUE(ns_get_public_extern_string != nullptr) << dlerror(); in TEST()
842 ASSERT_TRUE(ns_get_dlopened_string != nullptr) << dlerror(); in TEST()
857 ASSERT_TRUE(handle_public != nullptr) << dlerror(); in TEST()
861 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr)) << dlerror(); in TEST()
867 ASSERT_TRUE(handle_dlopened != nullptr) << dlerror(); in TEST()
873 ASSERT_TRUE(ns_not_isolated != nullptr) << dlerror(); in TEST()
880 ASSERT_TRUE(ns_isolated_shared != nullptr) << dlerror(); in TEST()
883 ASSERT_STREQ("dlopen failed: library \"libnstest_root_not_isolated.so\" not found", dlerror()); in TEST()
891 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
898 ASSERT_TRUE(handle1 != nullptr) << dlerror(); in TEST()
904 ASSERT_STREQ("dlopen failed: library \"libnstest_private_external.so\" not found", dlerror()); in TEST()
911 " for the namespace \"private_isolated_shared\"", dlerror()); in TEST()
920 ASSERT_TRUE(ns_get_local_string != nullptr) << dlerror(); in TEST()
922 ASSERT_TRUE(ns_get_local_string_shared != nullptr) << dlerror(); in TEST()
930 ASSERT_TRUE(ns_get_private_extern_string != nullptr) << dlerror(); in TEST()
933 ASSERT_TRUE(ns_get_private_extern_string_shared() != nullptr) << dlerror(); in TEST()
941 ASSERT_TRUE(ns_get_public_extern_string != nullptr) << dlerror(); in TEST()
944 ASSERT_TRUE(ns_get_public_extern_string_shared != nullptr) << dlerror(); in TEST()
951 ASSERT_TRUE(ns_get_dlopened_string != nullptr) << dlerror(); in TEST()
953 ASSERT_TRUE(ns_get_dlopened_string_shared != nullptr) << dlerror(); in TEST()
955 ASSERT_TRUE(ns_dlopened_string != nullptr) << dlerror(); in TEST()
974 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr)) << dlerror(); in TEST()
980 ASSERT_TRUE(handle_dlopened != nullptr) << dlerror(); in TEST()
987 ASSERT_TRUE(ns_isolated_shared != nullptr) << dlerror(); in TEST()
995 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
1023 ASSERT_TRUE(handle_public != nullptr) << dlerror(); in TEST()
1048 ASSERT_TRUE(ns1 != nullptr) << dlerror(); in TEST()
1057 ASSERT_TRUE(ns2 != nullptr) << dlerror(); in TEST()
1067 ASSERT_TRUE(handle_global != nullptr) << dlerror(); in TEST()
1085 ASSERT_TRUE(handle1 != nullptr) << dlerror(); in TEST()
1092 ASSERT_TRUE(handle1 != nullptr) << dlerror(); in TEST()
1100 ASSERT_STREQ("dlopen failed: library \"libnstest_public.so\" not found", dlerror()); in TEST()
1112 ASSERT_TRUE(handle_public != nullptr) << dlerror(); in TEST()
1115 << dlerror(); in TEST()
1122 ASSERT_TRUE(ns != nullptr) << dlerror(); in TEST()
1132 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
1136 ASSERT_TRUE(ns_get_dlopened_string_addr != 0) << dlerror(); in TEST()