SOSDacImpl.IXCLRDataProcess.cs (42)
24_target.Flush(FlushScope.All);
45Contracts.IThread contract = _target.Contracts.Thread;
73task.Interface = new ClrDataTask(matchingThread, _target, legacyTask);
112TargetCodePointer codeAddr = address.ToTargetCodePointer(_target);
115if (!_target.TryRead(codeAddr, out byte _))
118IExecutionManager eman = _target.Contracts.ExecutionManager;
125IPrecodeStubs precodeStubs = _target.Contracts.PrecodeStubs;
131*displacement = codeAddr.ToAddress(_target).Value - entryPoint;
132IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
135TypeNameBuilder.AppendMethodInternal(_target, sb, mdh, TypeNameFormat.FormatSignature
149if (resultName is null && _target.Contracts.AuxiliarySymbols.TryGetAuxiliarySymbolName(address.ToTargetPointer(_target), out string? auxSymbolName))
458TargetCodePointer methodAddr = address.ToTargetCodePointer(_target);
462bool isTriviallyReadable = _target.TryRead(methodAddr, out byte _);
466IExecutionManager eman = _target.Contracts.ExecutionManager;
470EnumMethodInstances emi = new(_target, methodDesc, TargetPointer.Null);
533method.Interface = new ClrDataMethodInstance(_target, methodDesc, emi._appDomain, legacyMethod);
623INotifications notifications = _target.Contracts.Notifications;
635_legacyImpl.GetModule(moduleLoad.ModuleAddress.ToClrDataAddress(_target), legacyModuleOut);
639notify.OnModuleLoaded(new ClrDataModule(moduleLoad.ModuleAddress, _target, legacyModule));
649_legacyImpl.GetModule(moduleUnload.ModuleAddress.ToClrDataAddress(_target), legacyModuleOut);
653notify.OnModuleUnloaded(new ClrDataModule(moduleUnload.ModuleAddress, _target, legacyModule));
659TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain();
661IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
664ClrDataMethodInstance methodInst = new(_target, methodDesc, appDomain, null);
668notify5.OnCodeGenerated2(methodInst, jit.NativeCodeAddress.ToClrDataAddress(_target));
677IThread thread = _target.Contracts.Thread;
681_target,
720TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain();
721IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
723notify4.ExceptionCatcherEnter(new ClrDataMethodInstance(_target, methodDesc, appDomain, null), exceptionCatcherEnter.NativeOffset);
757hr = StressTestApi.CdacStressApi.HandleRequest(_target, reqCode, inBufferSize, inBuffer, outBufferSize, outBuffer);
813_target.Contracts.CodeNotifications.SetAllCodeNotifications(moduleAddr, CodeNotificationFlagsConverter.FromCom(flags));
851ICodeNotifications codeNotif = _target.Contracts.CodeNotifications;
943_target.Contracts.CodeNotifications.SetCodeNotification(moduleAddr, tokens[i], CodeNotificationFlagsConverter.FromCom(f));
962*flags = _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.DacNotificationFlags));
993TargetPointer dacNotificationFlags = _target.ReadGlobalPointer(Constants.Globals.DacNotificationFlags);
994_target.Write<uint>(dacNotificationFlags, flags);
1012flagsLocal = _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.DacNotificationFlags));
1086_target.Contracts.Notifications.SetGcNotification(gcEvtArgs.condemnedGeneration);