17 writes to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (17)
Contracts\StackWalk\Context\ARM64\ARM64Unwinder.cs (14)
355context.Sp += 16u * (curCode & 0x1fu); 415context.Sp += 16u * ((curCode & 7u) << 8); 416context.Sp += 16u * _target.Read<byte>(unwindCodePtr); 593context.Sp += 16u * ((uint)_target.Read<byte>(unwindCodePtr) << 16); 595context.Sp += 16 * ((uint)_target.Read<byte>(unwindCodePtr) << 8); 597context.Sp += 16 * (uint)_target.Read<byte>(unwindCodePtr); 611context.Sp = context.Fp; 624context.Sp = context.Fp - 8u * _target.Read<byte>(unwindCodePtr); 879context.Sp = _target.Read<ulong>(sourceAddress); 905context.Sp = _target.Read<ulong>(startingSp + 0); 947context.Sp = _target.Read<ulong>(sourceAddress); 1083context.Sp -= (ulong)spOffset; 1133context.Sp -= (ulong)spOffset; 1187context.Sp -= (ulong)spOffset;
Contracts\StackWalk\Context\ARM64Context.cs (3)
50set => Sp = value.Value; 105if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { Sp = value.Value; return true; } 189case 31: Sp = value.Value; return true;
10 references to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (10)
Contracts\StackWalk\Context\ARM64\ARM64Unwinder.cs (7)
66ulong startingSp = context.Sp; 83if (context.Pc == 0 || (startingPc == context.Pc && startingSp == context.Sp)) 830ulong startingSp = context.Sp; 946sourceAddress = startingSp + (uint)Marshal.OffsetOf<ARM64Context>(nameof(ARM64Context.Sp)); 1067TargetPointer curAddress = context.Sp; 1116TargetPointer curAddress = context.Sp; 1166TargetPointer curAddress = context.Sp;
Contracts\StackWalk\Context\ARM64Context.cs (3)
49readonly get => new(Sp); 147if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { value = new TargetNUInt(Sp); return true; } 230case 31: value = new TargetNUInt(Sp); return true;