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

Re: Byte Code index of a local variable



I don't think it's easy to do this.  It may be easier to change your BCEL
code to use Soot.

pat

On Mon, 9 Feb 2004, wassim masri wrote:

> Is there a way to retrieve the byte code index of a local variable?
>
> The soot.Local interface provides getters for the name and type, but I need
> a way to associate the given Local object with its corresponding byte code
> variable.
>
> I am actually trying to dump PointsToAnalysis data to be subsequently used
> in further analysis using my own code that I wrote in BCEL (I am not really
> interested in optimization).
>
> I am trying to dump the PointsToAnalysis  data using something similar to
> what's in ReachingTypeDumper.handleClass( ). Is this a good place to look to
> start with?
>
> Thank you much.
> Wes
>
> _________________________________________________________________
> Get some great ideas here for your sweetheart on Valentine's Day - and
> beyond. http://special.msn.com/network/celebrateromance.armx
>