[Soot-list] Possible bug in Pack transformations

Patrick LAM plam at sable.mcgill.ca
Wed Mar 1 10:17:39 EST 2006


On Wed, 1 Mar 2006, Andy Maule wrote:

> PackManager.v().getPack("jtp").add(
>         			new Transform("jtp.flowanalysis",
> FlowTransformer.v())
>         		);
>
> If FlowTransformer is derived from BodyTransformer, then everything works
> ok, but I'm going to have to analyse each method in turn, and build up my
> app that way. If FlowTransformer is derived from SceneTransformer then a
> cast exception gets thrown, because it looks like a body transformer is
> expected.

Try putting it in the wjtp.  SceneTransformers are the right things to use
for whole-program analyses, and they have to go into the whole-program
packs.

pat




More information about the Soot-list mailing list