Sha256: 44f24bc38981c8e0459360d124963f24415ce878a42ba9a766a4421f91ccc286

Contents?: true

Size: 832 Bytes

Versions: 23

Compression:

Stored size: 832 Bytes

Contents

# To Recreate:
#
# echo -e 'class hello {\n  public static void main(String[] args) {\n
# System.out.println("hi");\n  }\n}\n' > hello.java
# javac -target 1.4 -source 1.4 hello.java
# dx --dex --output=hello.dex hello.class
# baksmali hello.dex
# cat out/hello.smali

.class Lhello;
.super Ljava/lang/Object;
.source "hello.java"


# direct methods
.method constructor <init>()V
    .registers 1

    .prologue
    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static main([Ljava/lang/String;)V
    .registers 3
    .parameter

    .prologue
    .line 3
    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v1, "hi"

    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 4
    return-void
.end method

Version data entries

23 entries across 23 versions & 5 rubygems

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.6.3 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.6.2 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.6.1 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.6.0 vendor/pygments-main/tests/examplefiles/hello.smali
mortar-pygments.rb-0.5.7 vendor/pygments-main/tests/examplefiles/hello.smali
mortar-pygments.rb-0.5.6 vendor/pygments-main/tests/examplefiles/hello.smali
mortar-pygments.rb-0.5.5 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-jruby-0.5.4.2 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-jruby-0.5.4.1 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-jruby-0.5.4 vendor/pygments-main/tests/examplefiles/hello.smali
gitlab-pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.5.2 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.5.1 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.5.0 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.4.2 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.4.1 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.3.7 vendor/pygments-main/tests/examplefiles/hello.smali
pygments.rb-0.3.6 vendor/pygments-main/tests/examplefiles/hello.smali