22 writes to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (22)
Contracts\StackWalk\Context\ARM\ARMUnwinder.cs (19)
241context.Sp += (curCode & 0x7fu) * 4u; 268context.Sp = GetRegister(ref context, curCode & 0x0f); 341context.Sp += 4u * 256u * (curCode & 3u); 342context.Sp += 4u * _target.Read<byte>(unwindCodePtr); 403context.Sp += ((param & 15) - 1) * 4; 454context.Sp += 4u * 256u * _target.Read<byte>(unwindCodePtr); 455context.Sp += 4u * _target.Read<byte>(unwindCodePtr + 1); 470context.Sp += 4u * 256u * 256u * _target.Read<byte>(unwindCodePtr); 471context.Sp += 4u * 256u * _target.Read<byte>(unwindCodePtr + 1); 472context.Sp += 4u * _target.Read<byte>(unwindCodePtr + 2); 585context.Sp = _target.Read<uint>(sourceAddress); 589context.Sp += offsets.TotalSize; 745context.Sp += 4 * stackAdjust; 757context.Sp += 4 * 4; 772context.Sp += 4 * stackAdjust; 798context.Sp += 4 * stackAdjust; 813context.Sp += 4 * 4; 897context.Sp += 8; 912context.Sp += 4;
Contracts\StackWalk\Context\ARMContext.cs (3)
41set => Sp = (uint)value.Value; 79if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { Sp = (uint)value.Value; return true; } 128case 13: Sp = (uint)value.Value; return true;
12 references to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (12)
Contracts\StackWalk\Context\ARM\ARMUnwinder.cs (9)
28uint startingSp = context.Sp; 51if (context.Pc == 0 || (context.Pc == startingPc && context.Sp == startingSp)) 549TargetPointer sourceAddress = context.Sp + offsets.RegOffset[regIndex]; 558TargetPointer sourceAddress = context.Sp + offsets.FpRegOffset[fpRegIndex]; 566TargetPointer sourceAddress = context.Sp + offsets.LrOffset; 571TargetPointer sourceAddress = context.Sp + offsets.PcOffset; 584TargetPointer sourceAddress = context.Sp + offsets.SpOffset; 896context.D[regIndex] = _target.Read<ulong>(context.Sp); 911SetRegister(ref context, regIndex, _target.Read<uint>(context.Sp));
Contracts\StackWalk\Context\ARMContext.cs (3)
40readonly get => new(Sp); 103if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { value = new TargetNUInt(Sp); return true; } 153case 13: value = new TargetNUInt(Sp); return true;