×

smali 语句 详解 函数和成员变量也分为两种,分别为 direct 和 virtual

牛大兵 牛大兵 发表于2023-08-17 08:35:15 浏览375 评论0

抢沙发发表评论




 423    invoke-static {v1, v0}, Lcom/w293ys/sjkj/utils/Logger;->v(Ljava/lang/String;Ljava/lang/String;)V

    

 462 invoke-static {v1, v0}, Lcom/w293ys/sjkj/utils/Logger;->v(Ljava/lang/String;Ljava/lang/String;)V

 

 

 

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V


    const-string v2, "请求页数==="

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Lcom/w293ys/sjkj/vod/SearchActivity;->pageindex:I

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/w293ys/sjkj/utils/Logger;->v(Ljava/lang/String;Ljava/lang/String;)V

 

 ----------------------------------------------------------------------------------------

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    

    const-string v1, "pageindex="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v1, p0, Lcom/w293ys/sjkj/vod/SearchActivity;->pageindex:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;


    const-string v1, "....vodpageindex="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v1, p0, Lcom/w293ys/sjkj/vod/SearchActivity;->vodpageindex:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "joychang"

    invoke-static {v1, v0}, Lcom/w293ys/sjkj/utils/Logger;->v(Ljava/lang/String;Ljava/lang/String;)V 

 

      ====================================================================  

    const-string v0, "joy1"

    const-string v1, "joy.This is Verbose."

    invoke-static {v0, v1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I


    .line 24

    const-string v0, "joy2"

    const-string v1, "josy.This is Debug."

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I


    .line 25

    const-string v0, "joy3"

    const-string v1, "joy.This is Information"

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I


    .line 26

    const-string v0, "joy4"

    const-string v1, "joy.This is Warnning."

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I


    .line 27

    const-string v0, "joy5"

    const-string v1, "joy.This is Error."

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I