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
有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top