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
[Bug] Missing update of local /proc/{pid}/maps
in remote session when new shared library is loaded
#1057
Comments
@hugsy Hi, I might encounter a similar problem, but I'm not sure whether it is a bug. Have you tried printing the |
@pnck See the comment above. It works well. Provide a step-by-step to reproduce reliably from the |
@hugsy Sorry I didn't read carefully. I tried a couple of versions and see it seems fixed on the I can reproduce with docker on the
|
Thanks @pnck that's much more useful! Since it's fixed in Cheers! |
GEF+GDB version
Operating System
Manjaro Linux
Describe the issue you encountered
When a program in a remote session loads additional shared library after it started, the
remote_objfile_event_handler
:gef/gef.py
Lines 11246 to 11258 in 570cc03
downloads the shared library from the remote and store it in the local folder.
However, it does not update the local
/proc/{pid}/maps
file, leading to wrongvmmap
outputs (and maybe other erroneous results).Do you read the docs and look at previously closed issues/PRs for similar cases?
Yes
Architecture impacted
Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored.
dlopen
for example.vmmap
, the additional shared library won't show in the output.Minimalist test case
No response
Additional context?
No response
The text was updated successfully, but these errors were encountered: