1
0
Fork 0

DBG: remove weak acquire in dbghelp_safe

possibly fixes #1863
This commit is contained in:
Duncan Ogilvie 2018-01-12 14:15:06 +01:00 committed by GitHub
parent 0e29990da5
commit 39f78b1c33
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@ SafeUnDecorateSymbolName(
__in DWORD flags
)
{
WEAK_ACQUIRE();
STRONG_ACQUIRE();
return UnDecorateSymbolName(name, outputString, maxStringLength, flags);
}
BOOL
@ -157,7 +157,7 @@ SafeSymGetLineFromAddrW64(
__out PIMAGEHLP_LINEW64 Line64
)
{
WEAK_ACQUIRE();
STRONG_ACQUIRE();
return SymGetLineFromAddrW64(hProcess, qwAddr, pdwDisplacement, Line64);
}
BOOL
@ -167,7 +167,7 @@ SafeSymFromName(
__inout PSYMBOL_INFO Symbol
)
{
WEAK_ACQUIRE();
STRONG_ACQUIRE();
return SymFromName(hProcess, Name, Symbol);
}
BOOL
@ -178,7 +178,7 @@ SafeSymFromAddr(
__inout PSYMBOL_INFO Symbol
)
{
WEAK_ACQUIRE();
STRONG_ACQUIRE();
return SymFromAddr(hProcess, Address, Displacement, Symbol);
}
BOOL
@ -204,4 +204,4 @@ SafeStackWalk64(
{
STRONG_ACQUIRE();
return StackWalk64(MachineType, hProcess, hThread, StackFrame, ContextRecord, ReadMemoryRoutine, FunctionTableAccessRoutine, GetModuleBaseRoutine, TranslateAddress);
}
}