android – smali文件中.prologue的含义是什么?

我使用apktool组装了一个简单的
Android应用程序,它生成了一些smali代码.其他的东西是可以理解的,但我没有在smali代码中获得.prologue的含义.请帮助我

其他变量是自我理解linke invoke和locals但是这个.prologue做了什么?

    # direct methods
    .method public constructor <init>()V
        .locals 0

        .prologue  # What does this do?
        .line 17
        invoke-direct {p0}, Landroid/app/Activity;-><init>()V

        return-void
    .end method

最佳答案 这相当于dex文件中的DBG_SET_PROLOGUE_END调试操作码,如
here所述.

sets the prologue_end state machine register, indicating that the next
position entry that is added should be considered the end of a method
prologue (an appropriate place for a method breakpoint). The
prologue_end register is cleared by any special (>= 0x0a) opcode.

点赞