Skip to content
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

feat: add --print-pointers to check ASLR status #29

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

warner
Copy link
Collaborator

@warner warner commented Aug 28, 2022

This prints the addresses of things found in the .text/.data/.bss
sections, the heap, and the stack. If two different invocations on the
same system print different values, then ASLR is probably randomizing
the address-space layout.

This prints the addresses of things found in the .text/.data/.bss
sections, the heap, and the stack. If two different invocations on the
same system print different values, then ASLR is probably randomizing
the address-space layout.
@warner warner requested a review from dckc August 28, 2022 08:18
@warner warner removed the request for review from dckc August 28, 2022 08:29
@warner warner marked this pull request as draft August 28, 2022 08:30
@warner
Copy link
Collaborator Author

warner commented Aug 28, 2022

We don't really need to merge this, it's a one-off test to see whether the GitHub CI machines have ASLR enabled.

Copy link
Collaborator

@dckc dckc left a comment

Choose a reason for hiding this comment

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

Seems worthwhile.

xsnap/sources/xsnap-worker.c Show resolved Hide resolved
@dckc
Copy link
Collaborator

dckc commented Aug 28, 2022

it's a one-off test

oops; I just now noticed that.

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.

3 participants