[Soot-list] Multiple runs of Soot

Eric Bodden eric.bodden at mail.mcgill.ca
Mon Jul 20 08:15:55 EDT 2009


Hi again.

> I use Soot to read in the Java class files and generate Jimple, so I never
> directly look at the Java source code or the AST.  I only work with the
> resulting Jimple code.  Can I add the SourceLnPosTag to the Jimple
> statements without creating another transformer?  (For example using
> -keep-line-number input command for line number tag)

Yes, simply pass -keep-line-number as an argument to
soot.Main.main(..) when you call it.

Eric
-- 
Eric Bodden
Sable Research Group, McGill University
Montréal, Québec, Canada


More information about the Soot-list mailing list