hooking.h (387B)
1 #ifndef HOOKING_H 2 #define HOOKING_H 3 4 #define LIBMPI "libmpi.so" 5 #define LIBSTD LIBM_SO 6 7 /* 8 * smash_get_lib_func takes a null-terminated library name and a 9 * null-terminated symbol name. On success returns the address where the symbol 10 * is loaded in memory, on failure terminates the process. 11 */ 12 void *smash_get_lib_func(const char *lname, const char *fname); 13 14 #endif /* HOOKING_H */