IDA Pro 7.2 has a new functionality named force new variable
.
See:
Here and Here.
But it is only efficient for stack-based variables. How can I force a new variable for a register-based variables?
Reverse Engineering Stack Exchange is a question and answer site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation. It only takes a minute to sign up.
Sign up to join this communityYou can't, not as a standard command that's currently available through the user interface, anyway. Force new variable only works for stack locations. Perhaps a future version of Hex-Rays will allow the user to force new register variables.