[Soot-list] jdk 1.5 partial support.

Joe Pellegrino joe.pellegrino at lakota-tsi.com
Wed Jul 18 12:35:45 EDT 2007


Opps hit send before I typed the message; oh well just was going to say I
understand what you mean about the stack size stuff.

-----Original Message-----
From: soot-list-bounces at sable.mcgill.ca
[mailto:soot-list-bounces at sable.mcgill.ca] On Behalf Of Joe Pellegrino
Sent: Wednesday, July 18, 2007 12:27 PM
To: soot-list at sable.mcgill.ca
Subject: RE: [Soot-list] jdk 1.5 partial support.



-----Original Message-----
From: soot-list-bounces at sable.mcgill.ca
[mailto:soot-list-bounces at sable.mcgill.ca] On Behalf Of mbatch at cs.mcgill.ca
Sent: Wednesday, July 18, 2007 11:48 AM
To: soot-list at sable.mcgill.ca
Subject: RE: [Soot-list] jdk 1.5 partial support.


Hello Joe,

I should have mentioned in my last email that the error you are seeing:

> 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 []

Is a result of the obfuscator performing "security checks" (I just made
that up, see?).. Basically, it checks to see if changes made by the
obfuscator to the bytecode have improperly screwed with the stack heights
in each method - sort of a mini-verifier. I had added this in as an
exception since a problem with the stack height is going to result in a
broken program, and there is no point in giving you the output.

The real culprit of all this probably is, as Eric mentioned, a bug in the
obfuscator somewhere. I will spend some time to try and track it down this
week.

Michael

_______________________________________________
Soot-list mailing list
Soot-list at sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list

_______________________________________________
Soot-list mailing list
Soot-list at sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list



More information about the Soot-list mailing list