<div dir="ltr">Hi Phil,<div><br></div><div>Your class loader sounds great, but I want to first get the up-optimized class loading, that loads all the classes, to work. Do you, or anyone else here, know how to do this? My understanding is that if you do Scene.v().forceResolve(mainClass, SootClass.BODIES), then all classes transitively referenced should be loaded, but this is not happening for me.</div><div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 2:01 PM, Phil Pratt-Szeliga <span dir="ltr">&lt;<a href="mailto:pcpratts@trifort.org" target="_blank">pcpratts@trifort.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Peter,<br>
<span class=""><br>
&gt; I want to construct a call graph from an entry point, making sure all the<br>
&gt; classes transitively referenced are loaded along the way. I thought<br>
&gt; forceResolve() should do the trick, but despite calling it using the<br>
&gt; following code, I&#39;m still getting some important edges.<br>
<br>
</span>You might be able to try the prototype RTAClassLoader [1]. Here [2] is<br>
an example of using it. Here [3] is a link to a published paper that<br>
outlines the differences between Soot class loading and<br>
RTAClassLoading. The code has changed since the paper has been<br>
released, but this shows the outline. No guarentees that it will work,<br>
it is in beta.<br>
<br>
Phil Pratt-Szeliga<br>
<a href="http://trifort.org/" target="_blank">http://trifort.org/</a><br>
<br>
[1] <a href="https://github.com/pcpratts/soot/blob/feature/rbcl/src/soot/rtaclassload/RTAClassLoader.java" target="_blank">https://github.com/pcpratts/soot/blob/feature/rbcl/src/soot/rtaclassload/RTAClassLoader.java</a><br>
[2] <a href="https://github.com/pcpratts/rootbeer1/blob/feature/rbcl2/src/org/trifort/rootbeer/entry/RootbeerCompiler.java#L99" target="_blank">https://github.com/pcpratts/rootbeer1/blob/feature/rbcl2/src/org/trifort/rootbeer/entry/RootbeerCompiler.java#L99</a><br>
[3] <a href="http://dl.acm.org/citation.cfm?id=2487573" target="_blank">http://dl.acm.org/citation.cfm?id=2487573</a><br>
</blockquote></div><br></div>