1 write to _target
Microsoft.Diagnostics.DataContractReader.Legacy (1)
Dbi\DacDbiImpl.cs (1)
55_target = target;
81 references to _target
Microsoft.Diagnostics.DataContractReader.Legacy (81)
Dbi\DacDbiImpl.cs (81)
44if (!_target.TryReadGlobalPointer(Constants.Globals.ProfilerControlBlock, out TargetPointer? profControlBlockAddress)) 47Target.TypeInfo type = _target.GetTypeInfo(DataType.ProfControlBlock); 48TargetPointer mainProfInterface = _target.ReadPointerField(profControlBlockAddress.Value, type, "MainProfilerProfInterface"); 49int notificationCount = _target.ReadField<int>(profControlBlockAddress.Value, type, "NotificationProfilerCount"); 64_target.Flush(); 77*pResult = _target.Contracts.Debugger.TryGetDebuggerData(out Contracts.DebuggerData data) && data.IsLeftSideInitialized ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 104*pRetVal = vmAppDomain == 0 ? 0u : _target.ReadGlobal<uint>(Constants.Globals.DefaultADID); 128string name = _target.Contracts.Loader.GetAppDomainFriendlyName(); 151Contracts.ILoader loader = _target.Contracts.Loader; 183Contracts.ILoader loader = _target.Contracts.Loader; 222Contracts.ILoader loader = _target.Contracts.Loader; 269Contracts.ILoader loader = _target.Contracts.Loader; 314Contracts.ILoader loader = _target.Contracts.Loader; 346Contracts.ILoader loader = _target.Contracts.Loader; 382Contracts.ILoader loader = _target.Contracts.Loader; 442Contracts.ILoader loader = _target.Contracts.Loader; 493_target.Contracts.Debugger.RequestSyncAtEvent(); 514_target.Contracts.Debugger.SetSendExceptionsOutsideOfJMC(sendExceptionsOutsideOfJMC != Interop.BOOL.FALSE); 535Contracts.IDebugger debugger = _target.Contracts.Debugger; 566Contracts.IDebugger debugger = _target.Contracts.Debugger; 605Contracts.IThread threadContract = _target.Contracts.Thread; 660Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 689Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 724_target.Contracts.Thread.SetDebuggerControlledThreadState(threadPtr, Contracts.DebuggerControlledThreadState.UserSuspend); 728_target.Contracts.Thread.ResetDebuggerControlledThreadState(threadPtr, Contracts.DebuggerControlledThreadState.UserSuspend); 755Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 785Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(threadPtr); 863Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 892Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 919TargetPointer exceptionHandle = _target.Contracts.Thread.GetCurrentExceptionHandle(threadPtr); 922ThreadData data = _target.Contracts.Thread.GetThreadData(threadPtr); 955if (_target.Contracts.TryGetContract<IComWrappers>(out IComWrappers? comWrappers)) 960comWrappersSuccess = _target.TryReadPointer(managedObjectWrapper, out objectHandle); 964if (!comWrappersSuccess && _target.Contracts.TryGetContract<IBuiltInCOM>(out IBuiltInCOM? builtInCOM)) 1000Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1026TargetPointer appDomainPtr = _target.ReadGlobalPointer(Constants.Globals.AppDomain); 1027*pRetVal = _target.ReadPointer(appDomainPtr); 1052Contracts.ILoader loader = _target.Contracts.Loader; 1124IPlatformAgnosticContext leafCtx = IPlatformAgnosticContext.GetContextForPlatform(_target); 1126byte[] leafContext = _target.Contracts.Thread.GetContext(new TargetPointer(vmThread), ThreadContextSource.None, allFlags); 1130IPlatformAgnosticContext givenCtx = IPlatformAgnosticContext.GetContextForPlatform(_target); 1159uint allFlags = IPlatformAgnosticContext.GetContextForPlatform(_target).AllContextFlags; 1160byte[] context = _target.Contracts.Thread.GetContext(new TargetPointer(vmThread), ThreadContextSource.Debugger, allFlags); 1171uint contextSize = IPlatformAgnosticContext.GetContextForPlatform(_target).Size; 1180IPlatformAgnosticContext contextStruct = IPlatformAgnosticContext.GetContextForPlatform(_target); 1181IPlatformAgnosticContext localContextStruct = IPlatformAgnosticContext.GetContextForPlatform(_target); 1202Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1237Contracts.ISignature signature = _target.Contracts.Signature; 1270RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 1276Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1322*pRetVal = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(rawToken)).Value; 1369Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1396Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1438Contracts.ILoader loader = _target.Contracts.Loader; 1488Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1531Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1581IObject obj = _target.Contracts.Object; 1623*pRetVal = _target.Contracts.Debugger.GetDebuggerControlBlockAddress().Value; 1648*pRetVal = _target.ReadPointer(new TargetPointer(ptr)).Value; 1708TargetPointer obj = _target.ReadPointer(new TargetPointer(vmHandle)); 1760*pRetVal = _target.Contracts.Debugger.GetAttachStateFlags(); 1819IGC gc = _target.Contracts.GC; 1937TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(obj)); 2008IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2022pLayout->boxOffset = rts.IsObjRef(typeHandle) ? 0u : (uint)_target.PointerSize; 2061IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2063uint pointerSize = (uint)_target.PointerSize; 2088Target.TypeInfo objectHeaderTypeInfo = _target.GetTypeInfo(DataType.ObjectHeader); 2133Contracts.IGC gc = _target.Contracts.GC; 2136pHeapInfo->pointerSize = (uint)_target.PointerSize; 2180if (!_target.Contracts.Debugger.TryGetDebuggerData(out Contracts.DebuggerData data)) 2209if (!_target.Contracts.Debugger.TryGetDebuggerData(out Contracts.DebuggerData data)) 2242if (!_target.Contracts.TryGetContract<IReJIT>(out IReJIT rejit)) 2245ILoader loader = _target.Contracts.Loader; 2256ICodeVersions codeVersions = _target.Contracts.CodeVersions; 2296ICodeVersions codeVersions = _target.Contracts.CodeVersions; 2333ICodeVersions codeVersions = _target.Contracts.CodeVersions; 2368_target.Contracts.Debugger.EnableGCNotificationEvents(fEnable != Interop.BOOL.FALSE); 2408Contracts.ILoader loader = _target.Contracts.Loader; 2439*pResult = _target.Contracts.Debugger.MetadataUpdatesApplied() ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 2478Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;