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

Debugger should create function for the instruciton pointer inside of the debugger core #632

Open
xusheng6 opened this issue Oct 18, 2024 · 0 comments

Comments

@xusheng6
Copy link
Member

When the target stops at an address that does not have a function, the debugger creates a new function at the address to have the UI show the code. Right now, this is done by the debugger UI when it is about to do the navigation. So far so good, however, maybe we should consider doing it inside of the debugger core. A relevant issue is #631, where the target stops at a code buffer on the heap. The stack trace information is collected before the function is created, and that causes the stack trace to not able to leverage the later-to-be-created function. That said, this might cause other issues since it will cause the analysis to be running when the debugger is collecting the info, which may cause other (and potentially more severe) issues. I am just creating this issue to track it and allow future consideration

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

No branches or pull requests

1 participant