[Soot-list] get java source statements from soot

Eric Bodden eric.bodden at mail.mcgill.ca
Tue Aug 12 10:52:19 EDT 2008


Gerald,

If you use -keep-line-number as a command line argument then Soot adds
a Tag to most Stmts telling you which line number (and column, if read
from source) corresponds to that Stmt. That's all there is.

Eric

2008/8/12 Gerald Sit <Gerald.Sit at student.cityu.edu.hk>:
> Hi all,
>
> I was trying to get the relevant information for each statements. One of the information I need is the java equivalent source statements corresponding to the jimple statements. Does soot provides any APIs to get those information directly? or I need to get the original statements by reading the java source file again?
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>



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


More information about the Soot-list mailing list