Debugger should create function for the instruciton pointer inside of the debugger core
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 331
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
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 https://github.com/Vector35/debugger/issues/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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the debugger UI navigation path and the debugger core's stack-trace collection, then read issue 631 about code buffers on the heap. The work would need a decided location for creating functions and confirmation that stack traces can use the created function without introducing harmful analysis effects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools, reverse-engineering
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100