[Soot-list] Wrong jimple code
Zeinab Lashkaripour
lashkaripour at yahoo.com
Sun Jun 23 14:51:22 EDT 2013
Thanks and sorry, I totally forgot about the javap.
> It would be helpful to take a look at the bytecode of the analyzed class using "javap -c YourClass",
> as Marc-André suggested.
I have sent you part of the output in [1] it seems as if there is no assignment for virtual invokes
Soot 2.5 gave the same result so, as Quentin mentioned I might have switched to a different javac version during my experiments but, I checked my javac version it was 1.7 (just the same as the one I started with)
Is there no other possibility? Could you please guide me?
This might be useful I remember that some exceptions happened due to not finding some classes therefore I added the jars required (jsp-api-6.0.16.jar, el-api-6.0.20.jar and javax.servlet).
Regards,
Zeinab
[1]
....
583: iload 29
585: iconst_3
586: if_icmpne 611
589: new #14 // class java/lang/StringBuilder
592: dup
593: invokespecial
#15 // Method java/lang/StringBuilder."init>":()V
596: ldc #138 // String order by i.price
598: invokevirtual #17 // Method
java/lang/StringBuilder.apend:(Ljava/lang/String;)Ljava/lang/StringBuilder;
601: aload 27
603: invokevirtual #17 // Method
java/lang/StringBuilder.apend:(Ljava/lang/String;)Ljava/lang/StringBuilder;
606: invokevirtual #20 // Method java/lang/StringBuilder.tString:()Ljava/lang/String;
609: astore 15
611: iload 29
613: iconst_4
614: if_icmpne 639
617: new #14 // class java/lang/StringBuilder
620: dup
621: invokespecial
#15 // Method java/lang/StringBuilder."init>":()V
624: ldc #139 // String order by c.name
626: invokevirtual #17 // Method
java/lang/StringBuilder.apend:(Ljava/lang/String;)Ljava/lang/StringBuilder;
629: aload 27
631: invokevirtual #17 // Method
java/lang/StringBuilder.apend:(Ljava/lang/String;)Ljava/lang/StringBuilder;
634: invokevirtual #20 // Method java/lang/StringBuilder.tString:()Ljava/lang/String;
637: astore 15
..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130623/62f24af6/attachment.html
More information about the Soot-list
mailing list