Skip to content

Add HighEntropyVA to building pwsh - #5455

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
TravisEz13:add_HighEntropyVA
Nov 15, 2017
Merged

Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
TravisEz13:add_HighEntropyVA

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we don't add this in all csproj files via PowerShell.Common.props?

@iSazonov Ilya (iSazonov) left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

One minor question. Sometimes msbuild is a surprise. How we can check that the option really works?

@TravisEz13

Copy link
Copy Markdown
Member Author

We will run binskim during the official build which will tell us.
https://github.com/Microsoft/binskim

@daxian-dbw

Dongbo Wang (daxian-dbw) commented Nov 15, 2017 •

Copy link
Copy Markdown
Member

We don't build pwsh.exe, so is the executable also has this option set on?
According to https://msdn.microsoft.com/en-us/library/jj835761.aspx, if not, powershell may not be able to benefit from this option.

This is not a blocking comment.

@iSazonov

Copy link
Copy Markdown
Collaborator

@daxian-dbw Dongbo Wang (daxian-dbw) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. :shipit:

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit 5d8999e into PowerShell:master Nov 15, 2017
@TravisEz13
Travis Plunk (TravisEz13) deleted the add_HighEntropyVA branch November 15, 2017 18:12
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Specify that the images (pwsh.dll in particular) support high-entropy 64-bit address space layout randomization (ASLR).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compliance Related to compliance requirements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants