rodneyviana / netext

WinDbg extension for data mining managed heap. It also includes commands to list http request, wcf services, WIF tokens among others
http://blogs.msdn.microsoft.com/rodneyviana
Other
224 stars 35 forks source link

.NET Core 6.0 !socket and $ipaddress(<field>) do not work with netext #22

Open AloisKraus opened 9 months ago

AloisKraus commented 9 months ago

Describe the bug With .NET Core 6.0 !socket and $ipaddress function do not work.

To Reproduce Dump a .NET 6 or higher process which has some web request hanging around

Expected behavior !socket and $ipaddress should work. Looks like the internal offsets have changed.

!wfrom -type System.Net.Sockets.Socket select $addr(),_remoteEndPoint._address._addressOrScopeId,$ipaddress(_remoteEndPoint._address._addressOrScopeId)
calculated: 0000015481B356B0
_remoteEndPoint._address._addressOrScopeId: 0n768473354
calculated: #INVALID#
calculated: 0000015481B39C70
_remoteEndPoint._address._addressOrScopeId: 0n768473354
calculated: #INVALID#
calculated: 0000015481B3F118
_remoteEndPoint._address._addressOrScopeId: 0n768473354
calculated: #INVALID#

Desktop (please complete the following information):

How do you build the project. On my machine it complains about error C1083: Cannot open type library file: '..\ClrMemDiagExt\bin\x86\Debug\NetExtShim.tlb': No such file or directory