[Soot-list] How to get the CFG for a SootField which is a inner Interface or class.
Bodden, Eric
eric.bodden at sit.fraunhofer.de
Mon Mar 17 05:26:31 EDT 2014
Hi Jason.
There will be an anonymous inner class of the form A$0 or A$1. This will have the on-click method that you see.
Hope that helps,
Eric
On 16.03.2014, at 12:33, Jason Xie <472408570 at qq.com> wrote:
> Dear Sooters:
> I am do some analysis related to the classfile in apk. But I encounter a problem to get CFG for a SootField which is a inner Interface or class.
> For instance, there is a activity in my app. Some code is like the below:
>
> public class A extends Activity {
> private OnClickListener C = new OnClickListener() {
>
> @Override
> public void onClick(View v) {
> Intent intent = new Intent(A.this,B);
> startActivity(intent);
>
> }
> };
>
> }
>
> How can I get the CFG of the C(SootField) ? Can somebody give me some help or tutorial to refer? Looking forward to your reply~
> Best regards,
> Jason
> _______________________________________________
> 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/60baea62/attachment.bin
More information about the Soot-list
mailing list