Lines Matching refs:handle
50 void* handle; in TEST() local
51 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST()
52 ASSERT_TRUE(handle != nullptr) << dlerror(); in TEST()
56 #define SYM(type, name) auto name = reinterpret_cast<type>(dlsym(handle, #name)) in TEST()
115 EXPECT_EQ(handle2, handle); in TEST()
123 dlclose(handle); in TEST()
134 void* handle; in TEST() local
135 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST()
136 ASSERT_FALSE(handle != nullptr) << dlerror(); in TEST()
138 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST()
139 ASSERT_FALSE(handle != nullptr) << dlerror(); in TEST()