-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Get address of stack, heap, binary in memory of process #2369
Comments
Along with this, a |
I would be willing to work on this PR if the feature is approved. |
Sure, this sounds useful! Next to the hardcoded properties, having a shortcut to receive the base address of any mapping without having to filter the .libs() result manually would be great too. |
The same way there is a way to get the address of shared libraries: process.libs(), which is currently implemented by inspecting
/proc/<pid>/maps
as linked in the docs, it should be possible to find the base address of the binary, stack and heap, even when ASLR is on.This would be quite handy in some cases (like easily calculating offsets locally, which can then be used on remote processes).
The text was updated successfully, but these errors were encountered: