[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Scene Transformation in Soot 2.0.1



On Wed, Mar 31, 2004 at 01:32:08PM -0500, Navindra Umanee wrote:
> Hi Matthew,
> 
> > Matthew J Rummel <rummelm@allegheny.edu> writes:
> > 
> > I found your address under the listing of soot contributors.  I have
>   tried twice to send the following message to the soot mailing list.
>   However, it has not been posted.  Could you please post this message
>   for me?
> 
> I presume you're not subscribed to the list and the list admin hasn't
> gotten to approving your posts.
> 
> > I tried the following for the first statement but it does not work:
> > 
> >    PackManager.v().getPack("wjtp").add(new Transform("wjtp.instrumentor", 
> >    ComputeLocalDefUseAssociations.v()));
> 
> Offhand this seems to me like it should work.  Could we see your
> entire main loop if it's not too big?

Are you giving the -w switch to Soot to enable whole-program mode? The
wjtp phase does not get run wihtout it.

> > I have no idea how to implement the second statement.

soot.options.Options.v().set_output_format( 
    soot.options.Options.output_format_jimple );

> I'm not sure what you're trying to do, it would help if we could
> understand more of the big picture, I think.
> 
> Cheers,
> Navin.