xrefs are not updated when the variables' value change
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 331
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
Let us say we have a data variable whose value gets updated by the debugger, and its new value points to a data variable. There would not be any data xrefs between the two, because we only update the data xrefs when data variables get defined/undefined.
This problem is not unique to the debugger. If we edit the value of an existing data variable to point to another data variable, the same effect can be observed. Though, in this case, we might be able to listen for BinaryDataNotification::OnDataVariableUpdated and figure out the data var's value has changed, then update it accordingly. However, this does not work for the debugger, since value changes in debugger are not handled by these notifications.
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
Trace where data xrefs are updated when data variables are defined or undefined, then compare that path with value changes from the debugger and edits that emit BinaryDataNotification::OnDataVariableUpdated. Confirm how each value-change path can trigger xref updates, and verify that xrefs appear after both debugger updates and existing-variable edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools, reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100