Update An Introduction to Ghidra authored by Aaron Scott Pope's avatar Aaron Scott Pope
...@@ -85,7 +85,7 @@ Pressing `l` allows us to change the variable name, and pressing `Ctrl+l` lets u ...@@ -85,7 +85,7 @@ Pressing `l` allows us to change the variable name, and pressing `Ctrl+l` lets u
We can see that `iVar1` is used as a return value, so let's rename it `retvar`. We can see that `iVar1` is used as a return value, so let's rename it `retvar`.
This actually splits the uses of `iVar1` into two variables, one of which is used as the return value of a `strcmp` call. This actually splits the uses of `iVar1` into two variables, one of which is used as the return value of a `strcmp` call.
We'll rename that to `cmpvar`. We'll rename that to `cmpvar`.
We'll also change the type and name of `size_t __n` to `int password_length` to match its use. We'll also change `__n` to `password_length` to match its use.
![renamed-variables](uploads/58963a3347adbfda3b3df32b895301f5/renamed-variables.png) ![renamed-variables](uploads/58963a3347adbfda3b3df32b895301f5/renamed-variables.png)
... ...
......