what does the .restart smali keyword do?

779 views Asked by At

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
1

There are 1 answers

0
JesusFreke On BEST ANSWER

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.