public override ClrMethod?GetMethodByInstructionPointer(ulong ip) { ulong md = _helpers.GetMethodDesc(ip); if (md == 0) { return(null); } return(GetMethodByHandle(md)); }
public override ClrMethod?GetMethodByInstructionPointer(ulong ip) { ulong md = _helpers.GetMethodDesc(ip); if (md == 0) { if (!DacLibrary.SOSDacInterface.GetCodeHeaderData(ip, out var codeHeaderData)) { return(null); } if ((md = codeHeaderData.MethodDesc) == 0) { return(null); } } return(GetMethodByHandle(md)); }