Hello all,
I've been looking around for what does the .local/.end local in smali does? Is it just to bless a register with a name/type? Below I give an example of what I am talking about.
Thanks in advance
I've been looking around for what does the .local/.end local in smali does? Is it just to bless a register with a name/type? Below I give an example of what I am talking about.
Code:
.local v1, pm:Landroid/os/PowerManager;
const-string v2, "recovery"
invoke-virtual {v1, v2}, Landroid/os/PowerManager;->reboot(Ljava/lang/String;)V
.end local v1