1#define _GNU_SOURCE 2#include <dlfcn.h> 3#include "libc.h" 4 5static int stub_dladdr(const void *addr, Dl_info *info) 6{ 7 return 0; 8} 9 10weak_alias(stub_dladdr, dladdr); 11