<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p dir="ltr">Hi Naveen.</p>
<p dir="ltr">Best use Scene.v().getHierarchy() to browse Subclasses.</p>
<p dir="ltr">Cheers,<br>
Eric</p>
<div class="gmail_quote">On Mar 29, 2015 13:53, Naveen Neelakandan <neelakandan@wisc.edu> wrote:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:'calibri' , 'arial' , 'helvetica' , sans-serif">
<p>Hello,<br>
</p>
<p><br>
</p>
<p>I am working with Soot on a project. I was wondering if there was any way for me to obtain a VTable equivalent for Java classes from Soot?<br>
</p>
<p><br>
</p>
<p>Basically, for a given class, I would like to know for each method in that class, which of the sub-classes override that method. So for instance if I have a super class Animal with a method run() and 2 sub-classes Cat and Dog that override run(), I would
like to be able to be able to query for these 2 sub-classes. What is the easiest way in which I can do this in Soot?<br>
</p>
<p><br>
</p>
<p>If there is no direct support, I am thinking I have to traverse all the classes myself and create a VTable-like data structure myself? I would appreciate any help with this.<br>
</p>
<p><br>
</p>
<p>Thanks,<br>
</p>
<p>Naveen Neelakandan<br>
</p>
</div>
</div>
</blockquote>
</div>
</body>
</html>