[Soot-list] Declaring fields in jasmin

Eric Bodden eric.bodden at mail.mcgill.ca
Sun Nov 23 12:55:54 EST 2008


The easiest way to figuring out such things should be to decompile
files into Jasmin using Soot using the "-f jasmin" option.

For me this shows a syntax such as ...

.source Tmp.java
.class public Tmp
.super java/lang/Object

.field public static "Str" Ljava/lang/String;

.field protected "foo" I


.method public <init>()V
...

To me this looks pretty similar to what you have. Could the empty
lines are significant?

> Further, the documentation is completely wrong, and copying from the
> docs doesn't compile.

I am not sure what documentation you are talking about. I have never
seen any documentation on Jasmin (and I am not saying that this is a
good thing either).

Eric

-- 
Eric Bodden
Sable Research Group, McGill University, Montréal, Canada
Got an interesting job offer? http://www.bodden.de/hire-me/


More information about the Soot-list mailing list