1# To Recreate: 2# 3# echo -e 'class hello {\n public static void main(String[] args) {\n 4# System.out.println("hi");\n }\n}\n' > hello.java 5# javac -target 1.4 -source 1.4 hello.java 6# dx --dex --output=hello.dex hello.class 7# baksmali hello.dex 8# cat out/hello.smali 9 10.class Lhello; 11.super Ljava/lang/Object; 12.source "hello.java" 13 14 15# direct methods 16.method constructor <init>()V 17 .registers 1 18 19 .prologue 20 .line 1 21 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 22 23 return-void 24.end method 25 26.method public static main([Ljava/lang/String;)V 27 .registers 3 28 .parameter 29 30 .prologue 31 .line 3 32 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; 33 34 const-string v1, "hi" 35 36 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V 37 38 .line 4 39 return-void 40.end method 41