[Soot-list] Unable to parse nested class in Android

Steven Arzt Steven.Arzt at cased.de
Thu Apr 9 04:20:10 EDT 2015


Hi Nishant,

 

Nested classes are compiled into normal classes, so there is no difference to Soot as to whether a class is inner or not (aside from some annotations). If you have a class A with an inner class B, this will become A and A$B in your compiled code. Both classes will be available in Soot.

 

Best regards,

  Steven

 

Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA] Im Auftrag von Nishant Budhdev
Gesendet: Donnerstag, 9. April 2015 10:15
An: soot-list at cs.mcgill.ca
Betreff: [Soot-list] Unable to parse nested class in Android

 

Hi,

I have a simple dummy android application which opens and closes the camera. There is only one class file. It contains the main class which itself contains another sub class within its body (within its braces).

 

Soot seems to unable to recognize this nested class and skips it and continues to other methods in the class. Is there a way to force it to parse the nested class ? If anyone has done it before, I would appreciate the help.

 

Thank you.

Nishant Budhdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150409/1bbee2aa/attachment.html 


More information about the Soot-list mailing list