-
-
Notifications
You must be signed in to change notification settings - Fork 719
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] GEF cannot find stack mapping when using info sections #915
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You can reopen it by adding a comment to this issue. |
This issue has been automatically closed because it has not had recent activity. If you are the owner of this issue, you can either re-open it and provide a more complete description; or create a new issue. Thank you for your contributions. |
GEF+GDB version
Operating System
N/A
Describe the issue you encountered
When debugging a remote target whose maps I can't read from e.g. procfs, I elected to load the elf directly. This makes
gef.mapping.maps
use__parse_gdb_info_sections
instead of__parse_procfs_maps
. This is fine for most sections, but it leaves the stack unmapped since the stack is not specified in the ELF header.This breaks the stack view of context.
We could maybe add a way to manually add sections?
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.
Provide a step-by-step to reproduce your issue.
Minimalist test case
Use this field for a minimal code to compile and spot the issue:
You can also provide a Dockerfile if you prefer
Additional context?
The text was updated successfully, but these errors were encountered: