[Soot-list] Access android classes that are not in the stub

Sam Blackshear samuel.blackshear at colorado.edu
Tue Feb 24 13:26:49 EST 2015


JPhantom <https://github.com/gbalats/jphantom> is a very good
<http://cgi.di.uoa.gr/~smaragd/jphantom-oopsla13.pdf> tool for
automatically filling holes in the class hierarchy. You'll miss any
behaviors of the real-world TextView and Toast classes by having JPhantom
fill them in with empty stubs, but at least JPhantom will prevent the class
hierarchy analysis from throwing away all subclasses of TextView and Toast.

- Sam

On Tue, Feb 24, 2015 at 2:32 AM, Xinxin Jin <xinxin at cs.ucsd.edu> wrote:

> Hi all,
>
> I need to include Android TextView and Toast class in my analysis, but
> when I run Soot on my app, I notice these two classes are not in Android
> stub ( jar under sdk/platforms/ ).
>
> For TextView, I got message:  "Warning: TextView is a phantom class!"
>
> ​For Toast, I got nothing. None of the method in Toast class is reached
> and there is no warning messages about it.
>
> I guess I could include the whole Android SDK into the analysis, but it
> will be too costly and not scalable. So is there any other way to model the
> two classes without including the whole SDK ?
>
> Thank you very much for your help !
>>
> --
> Xinxin Jin
> Ph.D. student, Computer Science
> University of California, San Diego
> http://cseweb.ucsd.edu/~x7jin/
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150224/e41814e1/attachment-0001.html 


More information about the Soot-list mailing list