<div dir="ltr">I am writing a pack that generates a list of all method calls made by a program. Currently, my strategy is to use a SceneTransformer (wjtp) that will simply useScene.v().getReachableMethods() (for a given set of entry points I defined when setting up the pack). Is this the correct use?<div><br></div><div>Another strategy is to write a BodyTransformer that will iterate each Stmt in a body and then determine if it&#39;s a method call.</div><div><br></div><div>Which strategy is the correct one?</div><div><br></div><div>Also, I tried iterating Stmts from a SceneTransformer using getActiveBody but sometimes that throws a runtime exception saying that there is no active body.</div><div><br></div><div>-Earlence</div></div>