Question

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
Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top