1 instantiation of ContextBuffer
Microsoft.Diagnostics.DataContractReader.Legacy (1)
Dbi\DacDbiImpl.cs (1)
1849ContextBuffer legacyContext = new() { pContextBytes = pLocal, contextSize = expectedContextSize };
89 references to ContextBuffer
Microsoft.Diagnostics.DataContractReader.Legacy (89)
Dbi\DacDbiImpl.cs (18)
1766private void SeedHandleFromNativeContext(StackWalkHandleData handleData, ContextBuffer contextBuffer, bool isFirst) 1811public int CreateStackWalk(ulong vmThread, ContextBuffer contextBuffer, nuint* ppSFIHandle) 1849ContextBuffer legacyContext = new() { pContextBytes = pLocal, contextSize = expectedContextSize }; 1906public int GetStackWalkCurrentContext(nuint pSFIHandle, ContextBuffer contextBuffer) 1967public int SetStackWalkCurrentContext(ulong vmThread, nuint pSFIHandle, int flag, ContextBuffer contextBuffer) 2054public int CheckContext(ulong vmThread, ContextBuffer contextBuffer) 2245private void WriteContext(IStackDataFrameHandle handle, ContextBuffer contextBuffer) 2264ContextBuffer incomingCtx = pDest->ctx; 2606public int IsLeafFrame(ulong vmThread, ContextBuffer contextBuffer, Interop.BOOL* pResult) 2651public int GetContext(ulong vmThread, ContextBuffer contextBuffer) 6677public int ContextHasExtendedRegisters(ContextBuffer contextBuffer, Interop.BOOL* pResult) 6714public int CompareControlRegisters(ContextBuffer contextBuffer1, ContextBuffer contextBuffer2, Interop.BOOL* pResult) 6754public int CopyContext(ContextBuffer destinationContext, ContextBuffer sourceContext, ContextCopyMode copyMode, uint flags) 6825public int WriteRegistersToContext(ContextBuffer contextBuffer, CorDebugRegister* regs, uint nRegs, nuint* values) 6876public int ReadRegistersFromContext(ContextBuffer contextBuffer, CorDebugRegister* regs, uint nRegs, ulong* pValues) 7046public int WriteFloatRegisterToContext(ContextBuffer contextBuffer, CorDebugRegister reg, byte* pValue, uint valueSize)
Dbi\IDacDbiInterface.cs (15)
373[FieldOffset(8)] public ContextBuffer ctx; // ContextBuffer (host-sized pointer + size) 849int CreateStackWalk(ulong vmThread, ContextBuffer contextBuffer, nuint* ppSFIHandle); 855int GetStackWalkCurrentContext(nuint pSFIHandle, ContextBuffer contextBuffer); 858int SetStackWalkCurrentContext(ulong vmThread, nuint pSFIHandle, int flag, ContextBuffer contextBuffer); 864int CheckContext(ulong vmThread, ContextBuffer contextBuffer); 879int IsLeafFrame(ulong vmThread, ContextBuffer contextBuffer, Interop.BOOL* pResult); 882int GetContext(ulong vmThread, ContextBuffer contextBuffer); 1113int WriteRegistersToContext(ContextBuffer contextBuffer, CorDebugRegister* regs, uint nRegs, nuint* values); 1116int ReadRegistersFromContext(ContextBuffer contextBuffer, CorDebugRegister* regs, uint nRegs, ulong* pValues); 1125int WriteFloatRegisterToContext(ContextBuffer contextBuffer, CorDebugRegister reg, byte* pValue, uint valueSize); 1128int ContextHasExtendedRegisters(ContextBuffer contextBuffer, Interop.BOOL* pResult); 1131int CompareControlRegisters(ContextBuffer contextBuffer1, ContextBuffer contextBuffer2, Interop.BOOL* pResult); 1134int CopyContext(ContextBuffer destinationContext, ContextBuffer sourceContext, ContextCopyMode copyMode, uint flags);
Generated\361d1da7f942c932\Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.cs (56)
53public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, nuint*, int> CreateStackWalk_46; 55public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, int> GetStackWalkCurrentContext_48; 56public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, nuint, int, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, int> SetStackWalkCurrentContext_49; 58public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, int> CheckContext_51; 63public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int> IsLeafFrame_56; 64public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, int> GetContext_57; 140public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister*, uint, nuint*, int> WriteRegistersToContext_133; 141public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister*, uint, ulong*, int> ReadRegistersFromContext_134; 144public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister, byte*, uint, int> WriteFloatRegisterToContext_137; 145public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int> ContextHasExtendedRegisters_138; 146public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int> CompareControlRegisters_139; 147public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextCopyMode, uint, int> CopyContext_140; 2092int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.CreateStackWalk(ulong vmThread, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, nuint* ppSFIHandle) 2097var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, nuint*, int>)__vtable[46]); 2111internal static unsafe int ABI_CreateStackWalk(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong vmThread, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, nuint* ppSFIHandle) 2174int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.GetStackWalkCurrentContext(nuint pSFIHandle, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer) 2179var __target = ((delegate* unmanaged[MemberFunction]<void*, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, int>)__vtable[48]); 2193internal static unsafe int ABI_GetStackWalkCurrentContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, nuint pSFIHandle, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer) 2215int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.SetStackWalkCurrentContext(ulong vmThread, nuint pSFIHandle, int flag, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer) 2220var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, nuint, int, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, int>)__vtable[49]); 2234internal static unsafe int ABI_SetStackWalkCurrentContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong vmThread, nuint pSFIHandle, int flag, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer) 2297int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.CheckContext(ulong vmThread, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer) 2302var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, int>)__vtable[51]); 2316internal static unsafe int ABI_CheckContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong vmThread, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer) 2502int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.IsLeafFrame(ulong vmThread, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* pResult) 2507var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int>)__vtable[56]); 2521internal static unsafe int ABI_IsLeafFrame(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong vmThread, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* pResult) 2543int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.GetContext(ulong vmThread, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer) 2548var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, int>)__vtable[57]); 2562internal static unsafe int ABI_GetContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong vmThread, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer) 5670int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.WriteRegistersToContext(global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister* regs, uint nRegs, nuint* values) 5675var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister*, uint, nuint*, int>)__vtable[133]); 5689internal static unsafe int ABI_WriteRegistersToContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister* regs, uint nRegs, nuint* values) 5711int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.ReadRegistersFromContext(global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister* regs, uint nRegs, ulong* pValues) 5716var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister*, uint, ulong*, int>)__vtable[134]); 5730internal static unsafe int ABI_ReadRegistersFromContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister* regs, uint nRegs, ulong* pValues) 5834int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.WriteFloatRegisterToContext(global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister reg, byte* pValue, uint valueSize) 5839var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister, byte*, uint, int>)__vtable[137]); 5853internal static unsafe int ABI_WriteFloatRegisterToContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.CorDebugRegister reg, byte* pValue, uint valueSize) 5875int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.ContextHasExtendedRegisters(global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* pResult) 5880var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int>)__vtable[138]); 5894internal static unsafe int ABI_ContextHasExtendedRegisters(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* pResult) 5916int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.CompareControlRegisters(global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer1, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer2, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* pResult) 5921var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int>)__vtable[139]); 5935internal static unsafe int ABI_CompareControlRegisters(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer1, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer contextBuffer2, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* pResult) 5957int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.CopyContext(global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer destinationContext, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer sourceContext, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextCopyMode copyMode, uint flags) 5962var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextCopyMode, uint, int>)__vtable[140]); 5976internal static unsafe int ABI_CopyContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer destinationContext, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextBuffer sourceContext, global::Microsoft.Diagnostics.DataContractReader.Legacy.ContextCopyMode copyMode, uint flags)