简体   繁体   中英

How to understand @VIL in dalvik bycode

I use ida open classes.dex, and it show

CODE:00189570                 invoke-virtual                  {v0, v1, menu}, <void MenuInflater.inflate(int, ref) imp. @ _def_MenuInflater_inflate@VIL>

I don't understand the @VIL in the end of line, what's it? the full code

//MainActivity.java
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.menu_main, menu);
        return true;
    }

the full ida view

public boolean ro.rotry.MainActivity.onCreateOptionsMenu(
CODE:00189564       android.view.Menu menu)
CODE:00189564 this = v2
CODE:00189564 menu = v3
CODE:00189564                 .prologue_end
CODE:00189564                 .line 34
CODE:00189564                 invoke-virtual                  {this}, <ref MainActivity.getMenuInflater() imp. @ _def_MainActivity_getMenuInflater@L>
CODE:0018956A                 move-result-object              v0
CODE:0018956C                 const/high16                    v1, 0x7F0D0000
CODE:00189570                 invoke-virtual                  {v0, v1, menu}, <void MenuInflater.inflate(int, ref) imp. @ _def_MenuInflater_inflate@VIL>
CODE:00189576                 .line 35
CODE:00189576                 const/4                         v0, 1
CODE:00189578
CODE:00189578 locret:
CODE:00189578                 return                          v0
CODE:00189578 Method End

update

here is my [full android app code, https://github.com/roroco/try_the_complex/tree/understand-@VIL]

我发现classes.dex中的所有方法都具有/@[VIZL]+/ ,我认为它非常相似[罗马数字( https://en.wikipedia.org/wiki/Roman_numerals ),我猜@VIL的意思是“在V( 5)I(1)L(50)地址”,并且在ida函数窗口中,它存在@ZL,“ Z”表示0

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