| 101 | #include <dlfcn.h> |
| 102 | |
| 103 | static void *LoadObject(const char* sofile) |
| 104 | { |
| 105 | void *handle = dlopen(sofile, RTLD_NOW|RTLD_LOCAL); |
| 106 | if( !handle ) { |
| 107 | LOG("Could not open '%s': %s\n", sofile, dlerror() ); |
| 108 | } |
| 109 | return handle; |
| 110 | } |
| 111 | |
| 112 | static void* LoadFunction(void *handle, const char* name) |
| 113 | { |
no outgoing calls
no test coverage detected