#pragma warning restore CSE0003 // Use expression-bodied members public SymbolInfo GetSymbolFromAddress(ulong address, out ulong displacement) { var info = new SymbolInfo(); info.Init(); Win32.SymFromAddr(_hProcess, address, out displacement, ref info).ThrowIfWin32Failed(); return(info); }
public bool TryGetSymbolFromAddress(ulong address, ref SymbolInfo symbol, out ulong displacement) { symbol.Init(); return(Win32.SymFromAddr(_hProcess, address, out displacement, ref symbol)); }