[Soot-list] Strange exception while adding certain invoke edges in a method
Bodden, Eric
eric.bodden at sit.fraunhofer.de
Mon Mar 17 05:30:56 EDT 2014
Hi Ashish.
Can you try to use the -f J option to have Soot output the raw Jimple code? This should help us identify the syntactic error. Place a breakpoint into JimpleAST.java:60 to see which method is the problematic one and then show us the respective portion of the Jimple code.
Cheers,
Eric
On 11.03.2014, at 21:24, ASHISH MISHRA <ashish123.mishragkp at gmail.com> wrote:
> Dear All,
>
> I am trying traversing all the bodies in application classes and form some instructions adding new edges in the method body.
>
> I have run into a strange exception,
>
> Exception in thread "main" java.lang.RuntimeException: Parser exception occurred: soot.jimple.parser.parser.ParserException: [8,79] expecting: quoted name, identifier
> at soot.jimple.parser.JimpleAST.<init>(JimpleAST.java:60)
> at soot.JimpleClassSource.resolve(JimpleClassSource.java:39)
> at soot.SootResolver.bringToHierarchy(SootResolver.java:215)
> at soot.SootResolver.bringToSignatures(SootResolver.java:239)
> at soot.SootResolver.bringToBodies(SootResolver.java:280)
> at soot.SootResolver.processResolveWorklist(SootResolver.java:150)
> at soot.SootResolver.resolveClass(SootResolver.java:124)
> at soot.Scene.forceResolve(Scene.java:1279)
> ....
>
> This happens while creating a call graph on the modified code. I understand that I am generating invalid syntax somewhere during transformation , but running soot.Body.validate() , shows no error.
>
> 1)Has anyone else to come across this exception
> 2)Can any one help locating the possible source of problem.
>
> Thanks
>
> --
> Regards,
> Ashish Mishra
> Graduate Student,
> Computer Science and Automation Department,IISc
>
> Mailto : ashishmishra at csa.iisc.ernet.in
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422 Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20140317/aca91324/attachment.bin
More information about the Soot-list
mailing list