Skip to content

Conversation

@LebedevRI
Copy link
Collaborator

Theoretically, we could just disable ASLR in main(), but that seems to be disallowed by default
by some other security features.

Refs. #461

Theoretically, we could just disable ASLR in `main()`,
but that seems to be disallowed by default
by some other security features.

Refs. google#461
@LebedevRI LebedevRI requested a review from dmah42 May 1, 2025 14:03
you might want to disable the ASLR security hardening feature while running the
benchmark.

To globally disable ASLR, run
Copy link
Member

Choose a reason for hiding this comment

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

these instructions only apply to linux i think? windows also has ASLR available.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have no clue about non-linux, sorry.

Copy link
Member

Choose a reason for hiding this comment

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

(i assume you don't care given the change in the code, but it might be worth mentioning in the documentation)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes sense. Is this verbiage sufficient?

dmah42
dmah42 previously approved these changes May 1, 2025
@LebedevRI LebedevRI merged commit bc0989a into google:main May 1, 2025
83 of 84 checks passed
@LebedevRI LebedevRI deleted the aslr-detect branch May 1, 2025 14:32
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.

2 participants