<div dir="ltr"><a href="https://github.com/gbalats/jphantom">JPhantom</a> is a very <a href="http://cgi.di.uoa.gr/~smaragd/jphantom-oopsla13.pdf">good</a> tool for automatically filling holes in the class hierarchy. You&#39;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.<div><div><br></div><div>- Sam</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 2:32 AM, Xinxin Jin <span dir="ltr">&lt;<a href="mailto:xinxin@cs.ucsd.edu" target="_blank">xinxin@cs.ucsd.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi all, </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">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/ ). </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">For TextView, I got message:  &quot;Warning: TextView is a phantom class!&quot;</div><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​For Toast, I got nothing. None of the method in Toast class is reached and there is no warning messages about it.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">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 ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you very much for your help !</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​</div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><font face="georgia, serif">Xinxin Jin </font><div><div><font face="georgia, serif">Ph.D. student, Computer Science<br></font><div><font face="georgia, serif">University of California, San Diego</font></div><div><font face="georgia, serif"><a href="http://cseweb.ucsd.edu/~x7jin/" target="_blank">http://cseweb.ucsd.edu/~x7jin/</a></font><br></div><div><br></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Soot-list mailing list<br>
<a href="mailto:Soot-list@CS.McGill.CA">Soot-list@CS.McGill.CA</a><br>
<a href="https://mailman.CS.McGill.CA/mailman/listinfo/soot-list" target="_blank">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list</a><br>
<br></blockquote></div><br></div>