8000 Detect and report ASLR status by LebedevRI · Pull Request #1977 · google/benchmark · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Detect and report ASLR status #1977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 1, 2025
Merged

Detect and report ASLR status #1977

merged 2 commits into from
May 1, 2025

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
0