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

Re: Java line code of NewExpression



The command-line switches in the Input Attribute Options section (see
http://www.sable.mcgill.ca/soot/tutorial/usage/index.html), you can
get Soot to attach tags to each statement with the information you are
looking for. As for mapping the NewExpr back to the statement in which
it occurs, Soot does not do this for you; you need to keep track of it
yourself.

Ondrej

On Tue, Feb 10, 2004 at 12:49:20PM +0000, wassim masri wrote:
> When printing the return Set of a reachingObjects() call
> 
> I get output that looks as follows:
> 
> "
> AllocNode 17 new Object1 in method <Test1: Object1 getObject(boolean)>,
> AllocNode 16 new Object2 in method <Test1: Object1 getObject(boolean)>,
> ....
> "
> 
> This output gives the information about the NewExpression and in which 
> method it occured.
> 
> Is there a way to get more info like: which line of Java code (or bytecode) 
> it occurred?
> 
> Thanks,
> Wes
> 
> _________________________________________________________________
> Find great local high-speed Internet access value at the MSN High-Speed 
> Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
>