Skip to content

Move AMSI check call to PEImage::CreateFromByteArray - #138751

Open
elinor-fung wants to merge 1 commit into
dotnet:mainfrom
elinor-fung:refactor-amsi-byte-array
Open

elinor-fung wants to merge 1 commit into
dotnet:mainfrom
elinor-fung:refactor-amsi-byte-array

Conversation

@elinor-fung

Copy link
Copy Markdown
Member

Having the check directly in PEImage::CreateFromByteArray makes it clearer that it is only for creating an image from a byte array (not disk, not bundled). Also puts it under a WindowsLoadChecks namespace in preparation for additional checks.

Related: #134542

…ation

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants