diff options
Diffstat (limited to 'src/wrapper/wrapper.c')
-rw-r--r-- | src/wrapper/wrapper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wrapper/wrapper.c b/src/wrapper/wrapper.c index 44e0802..d7feff5 100644 --- a/src/wrapper/wrapper.c +++ b/src/wrapper/wrapper.c @@ -61,6 +61,11 @@ wrapper_create(const char *const symbol, void *function) { assert(symbol); + if (!function) { + verbose_log("FIXME: unimplemented symbol: %s", symbol); + return NULL; + } + #ifdef WRAPPER_TRACE if (!__cxa_demangle.ptr) __cxa_demangle.ptr = dlsym(RTLD_DEFAULT, "__cxa_demangle"); |