From d209bb4d01eeb70775af6dad4c98e09b31609379 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 19 Aug 2019 12:47:27 +0200 Subject: [PATCH] Add missing function pointer checks. --- client/TracySysTrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index 2fccac80..fa726f3c 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -225,7 +225,7 @@ void SysTraceSendExternalName( uint64_t thread ) } #endif const auto pid = GetProcessIdOfThread( hnd ); - if( !threadSent && NtQueryInformationThread && _EnumProcessModules ) + if( !threadSent && NtQueryInformationThread && _EnumProcessModules && _GetModuleInformation && _GetModuleBaseNameA ) { void* ptr; ULONG retlen;