Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does the .restart smali keyword do?

What does this line in smali do? I have been searching for the .restart thing on google and haven't been able to find any information about it.

.restart local v3       #i:I
like image 826
Notbad Avatar asked Oct 20 '22 18:10

Notbad


1 Answers

This is equivalent to the "DBG_RESTART_LOCAL" opcode in the debug_info item in the dex file.

From http://s.android.com/tech/dalvik/dex-format.html:

re-introduces a local variable at the current address. The name and type are the same as the last local that was live in the specified register.

like image 152
JesusFreke Avatar answered Oct 23 '22 11:10

JesusFreke