java -jar baksmali.jar disassemble path/to/your/dexfile.dex -o output/folder public class ExampleClass { private int value; public ExampleClass() { this.value = 0; } public void setValue(int newValue) { this.value = newValue; } public int getValue() { return this.value; } } .class public LExampleClass; .super Ljava/lang/Object; .field private value I .method public constructor <init>()V .registers 2 .prologue .line 4 invoke-direct {p0}, Ljava/lang/Object;-><init>()V .line 5 const/4 v0, 0x0 .line 5 iput v0, p0, LExampleClass;->value:I .line 6 return-void .end method .method public setValue(I)V .registers 2 .parameter "newValue" .prologue .line 9 .local p0, "this":LExampleClass; .local p1, "newValue":I .line 10 .local v0, "value":I iput p1, p0, LExampleClass;->value:I .line 11 return-void .end method .method public getValue()I .registers 2 .prologue .line 14 .local p0, "this":LExampleClass; .line 15 iget v0, p0, LExampleClass;->value:I .line 16 return v0 .end method


上一篇:
下一篇:
切换中文