Skip to content

Enable security flags in native compiler - #4933

Merged
Aditya Patwardhan (adityapatwardhan) merged 2 commits into
PowerShell:masterfrom
TravisEz13:macOSBuildRequirements
Sep 27, 2017
Merged

Aditya Patwardhan (adityapatwardhan) merged 2 commits into
PowerShell:masterfrom
TravisEz13:macOSBuildRequirements

Conversation

@TravisEz13

@TravisEz13 Travis Plunk (TravisEz13) commented Sep 27, 2017 •

Copy link
Copy Markdown
Member

Enable strong stack protection
Enable address space layout randomization (ASLR) or PIE
https://en.wikipedia.org/wiki/Position-independent_code#Position-independent_executables

Enable  address space layout randomization (ASLR) or PIE

@SteveL-MSFT Steve Lee (SteveL-MSFT) 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.

Do we need similar flags for arm?

Enable  address space layout randomization (ASLR) or PIE
@TravisEz13

Copy link
Copy Markdown
Member Author

Seems like a good idea. I enabled it and verified the build still works.

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit df1993a into PowerShell:master Sep 27, 2017
@TravisEz13
Travis Plunk (TravisEz13) deleted the macOSBuildRequirements branch October 2, 2017 17:24
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
* Enable strong stack protection
Enable  address space layout randomization (ASLR) or PIE

* Enable strong stack protection
Enable  address space layout randomization (ASLR) or PIE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants