2

When you open the stack window in IDA with Ctrl-K there is a comment at the top saying:

; Two special fields " r" and " s" represent return address and saved registers.

When I made some mistake and undefined these fields, then how can I recreate them? Defining data creates just a normal variable type. Or can those not be set, so I have to live with the data types?

3

Easiest solution is to undefine the function (navigate in the disassembly to the beginning of the function and press U) and then redefine the function (navigate in the disassembly to the beginning of the function and press P). Note that this will reset any variable names you had already set, though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.