[Soot-list] line number support for android

Alexandre Bartel alexandre.bartel at uni.lu
Fri Feb 1 13:13:13 EST 2013


Hi Tony,

You can get line numbers with the SourceLineNumberTag:

Unit u = ...;
SourceLineNumberTag l = (SourceLineNumberTag)
u.getTag("SourceLineNumberTag");
l.getLineNumber();

/Alex

On Thu, 2013-01-31 at 22:03 -0500, Tony Yan wrote:
> Hi,
> 
> Is line number maintained for Android classes read from dex file? I
> turned on "-keep-line-number" and used the usual LineNumberTag way to
> read line number, but it is not available.
> 
> Thanks,
> Tony
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list




More information about the Soot-list mailing list