[Soot-list] Line Numbers

Ondrej Lhotak olhotak at sable.mcgill.ca
Tue Oct 12 09:00:04 EDT 2004


On Tue, Oct 12, 2004 at 09:03:33AM +0200, gk.tu at w3x.org wrote:
> Hello!
> 
> I need to track a Unit back to the line of java source where it
> "originates". According to what I found out so far, this should be
> possible even if class files are used as input.
> 
> I already looked at some code in coffi/CFG.java, where the line number
> table is converted to tags attached to statements.
> However, I got the impression that there is a way to automatically tag
> instructions during (jimple,...) transformation?

It sounds like you are looking for the switch -keep-line-number.

> 
> Thanks in advance, georg
> 
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://www.sable.mcgill.ca/mailman/listinfo/soot-list
> 


More information about the Soot-list mailing list