简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM