[NFC][Sanitizer] Extract GetFuncAddr from GetRealFunctionAddress
Summary: Hopefully, this will enable cleanup/removal of GetRealFunctionAddress in follow-up commits. Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D61110 llvm-svn: 359213
This commit is contained in:
@@ -25,7 +25,8 @@ namespace __interception {
|
||||
// returns true if a function with the given name was found.
|
||||
bool GetRealFunctionAddress(const char *func_name, uptr *func_addr,
|
||||
uptr real, uptr wrapper);
|
||||
void *GetFuncAddrVer(const char *func_name, const char *ver);
|
||||
void *GetFuncAddr(const char *name);
|
||||
void *GetFuncAddrVer(const char *name, const char *ver);
|
||||
} // namespace __interception
|
||||
|
||||
#define INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) \
|
||||
|
||||
Reference in New Issue
Block a user