Is there some way to separate out uses of a variable and give them separate names.
i.e. sometimes a particular stack location or register is reused for a different purpose. It would be valuable to give this information to the decompiler so that it can treat it as a separate variable.
It is surely something to be wanted.
@emteere is there a recommended workflow to deal with this problem?
I believe this should be labelled as a feature request.
For registers you can do it:
4,883.64
For registers you can do it:
1. Right click in the Decompiler → _Commit Locals_. 2. Right click on the variable → _Split out as New Variable_.
I don't see this option in either the decompiler or the listing.
The code is here, but I also have not been able to find this item in the right-click menu.
Looking over the code, it seems that this only applies to locals that are declared within the function in the assembly listing. Even then, the varnode associated with the variable must have a "HighVariable" whatever that is.
There is no support for reusing parameters, renamed registers or other parameters that don't have whatever "HighVariable" is.
Most helpful comment
I believe this should be labelled as a feature request.