[Soot-list] jdk 1.5 partial support.

Joe Pellegrino joe.pellegrino at lakota-tsi.com
Wed Jul 18 10:43:03 EDT 2007


java -cp
/home/jpellegr/work/javaObf:/home/jpellegr/work/javaObf/sootall/jasmin-2708/
lib/jasminclasses-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/jasmin-2708/
lib/jasminsrc-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/polyglot-1.3.4/l
ib/pth.jar:/home/jpellegr/work/javaObf/sootall/polyglot-1.3.4/lib/polyglot.j
ar:/home/jpellegr/work/javaObf/sootall/polyglot-1.3.4/lib/coffer.jar:/home/j
pellegr/work/javaObf/sootall/polyglot-1.3.4/lib/pao.jar:/home/jpellegr/work/
javaObf/sootall/polyglot-1.3.4/lib/java_cup.jar:/home/jpellegr/work/javaObf/
sootall/polyglot-1.3.4/lib/JFlex.jar:/home/jpellegr/work/javaObf/sootall/soo
t-2708/lib/sootsrc-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/soot-2708/l
ib/sootclasses-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/soot-2708/lib/s
oot-eclipse-quickstart-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/soot-27
08/eclipse/ca.mcgill.sable.graph/graph.jar:/home/jpellegr/work/javaObf/soota
ll/soot-2708/eclipse/ca.mcgill.sable.soot/soot-plugin.jar:/home/jpellegr/wor
k/javaObf/sootall/jasmin-2708/classes:/home/jpellegr/work/javaObf/sootall/po
lyglot-1.3.4/classes:/home/jpellegr/work/javaObf/sootall/soot-2708/classes:/
home/jpellegr/work/javaObf/Test.jar:. -Xms256m -Xmx1024m soot.jbco.Main -cp
./:/usr/local/opt/jdk1.5.0_07/jre/lib/charsets.jar:/usr/local/opt/jdk1.5.0_0
7/jre/lib/jce.jar:/usr/local/opt/jdk1.5.0_07/jre/lib/jsse.jar:/usr/local/opt
/jdk1.5.0_07/jre/lib/rt.jar:/home/jpellegr/work/javaObf/Test.jar -d /tmp
-app TestObf -t:9:wjtp.jbco_cr -t:9:wjtp.jbco_mr -t:9:wjtp.jbco_fr
-t:9:wjtp.jbco_bapibm -t:9:wjtp.jbco_blbc -t:9:jtp.jbco_gia
-t:9:jtp.jbco_adss -t:9:jtp.jbco_cae2bo -t:9:bb.jbco_cb2ji -t:9:bb.jbco_dcc
-t:9:bb.jbco_rds -t:9:bb.jbco_riitcb -t:9:bb.jbco_iii -t:9:bb.jbco_plvb
-t:9:bb.jbco_rlaii -t:9:bb.jbco_ctbcb -t:9:bb.jbco_ecvf -t:9:bb.jbco_ptss >
& o

Thanks. :)

-----Original Message-----
From: eric.bodden at googlemail.com [mailto:eric.bodden at googlemail.com] On
Behalf Of Eric Bodden
Sent: Wednesday, July 18, 2007 10:40 AM
To: Joe Pellegrino
Cc: soot-list at sable.mcgill.ca
Subject: Re: [Soot-list] jdk 1.5 partial support.

... and your Soot command line, please.

Thanks,
Eric

On 18/07/07, Joe Pellegrino <joe.pellegrino at lakota-tsi.com> wrote:
>
>
> Java version:
>
> [jpellegr at fatboy gui]$ javac -version
> javac 1.5.0_07
>
> [jpellegr at fatboy gui]$ java -version
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
>
> Attached is the java source I am using to test with a jar file I created
> from the compiled source and the o file is the output from the run that
has
> the crash below. The crash is about halfway down.
>
> -----Original Message-----
> From: Chris Pickett [mailto:chris.pickett at mail.mcgill.ca]
> Sent: Wednesday, July 18, 2007 10:25 AM
> To: Joe Pellegrino
> Cc: soot-list at sable.mcgill.ca
> Subject: Re: [Soot-list] jdk 1.5 partial support.
>
> Hi Joe,
>
> Joe Pellegrino wrote:
> > I noticed on the installation instructions it mentions 'partial' support
> for
> > jdk 1.5. What does that mean? Could that be the cause of the crash that
> > produced:
> >
> > 169 load.r r0     [***missing***]
> > 170 jsr pop  10   [***missing***]
> > java.lang.RuntimeException: Problem with stack height at: goto
> specialinvoke
> > <java.lang.Object: void <init>()>
> >
> > Has Stack [] but is expecting []
> >
> > I ask because I did get this to work on a laptop using jdk1.4 I believe;
> > whereas on the machine that produced the above output was using java
> > 1.5.0_09. Anyone have some advice?
>
> Attach a test case so that people here can reproduce your problem.
>
> Cheers,
> Chris
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>
>


-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada



More information about the Soot-list mailing list