From 69df782638b1caa3087fcfb3d6f26bb42b91bf17 Mon Sep 17 00:00:00 2001 From: Jose Sua Date: Mon, 5 Dec 2022 16:22:13 -0800 Subject: [PATCH 1/8] Add Insturmentation to AmsiUtil and make the init variable readonly --- .../PowerShell.Core.Instrumentation.man | 52 +++++++++++++++++- .../engine/remoting/common/PSETWTracer.cs | 4 +- .../logging/LogProvider.cs | 16 ++++++ .../security/SecuritySupport.cs | 19 ++++--- .../utils/tracing/PSEtwLog.cs | 10 ++++ .../utils/tracing/PSEtwLogProvider.cs | 21 ++++++- temp | Bin 0 -> 102288 bytes 7 files changed, 108 insertions(+), 14 deletions(-) create mode 100644 temp diff --git a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man index ea8fcdc49c5..8979ad8ebe0 100644 --- a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man +++ b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man @@ -2208,6 +2208,18 @@ value="0x6017" version="1" /> +