I don't think it's possible because ebp+4 or a generic value like that is dynamic, static addresses such as 0x7f981234 could be shown as variables because they never change and even values on the stack or heap but you don't know what ebp+4 equals until you step to that line of code because the registers change constantly.
> shellc0de: I don\'t think it\'s possible because ebp+4 or a generic value like that is dynamic, static addresses such as 0x7f981234 could be shown as variables because they never change and even values on the stack or heap but you don\'t know what ebp+4 equals until you step to that line of code because the registers change constantly.
helo shellcode ...
Well yaa i agree value of ebp+4 will change dynamically .. but adrees ebp+4 will remain constant for a functions .
So like if we give variable address var_4 to ebp-0x4 .. then access the value at ebp-0x4 by [var_4] . Here we donot need to conern whether value of ebp-0x4 will change or not .. bt vairable name will remain same ....
I think you can do this with an olly plugin, but you have to be careful,because the new name will cause some confusion if the procedure is not ebp basd