blob: b245f4dc0a4b7177bdaac5a0b80f471e3682124a [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <dlfcn.h>
#include <stdio.h>
// This simply loads and unloads a shared object for tests on the dynamic loader notifications.
int main(int arch, char** argv) {
void* lib = dlopen("debug_agent_test_so.so", RTLD_GLOBAL);
printf("Got library\n");
dlclose(lib);
return 0;
}