[Soot-list] Get source code by line number

Eric Bodden eric.bodden at ec-spride.de
Sun Feb 24 06:12:08 EST 2013


Hello.

> Does Soot support anything like this or not (so that giving the line number
> I can get the source code of the given line number)?

No it does not. But if you know where the source file is located and
if you know the line number then it should be simple to just load the
file and search for the appropriate line of code. (using normal Java
APIs)

Eric


More information about the Soot-list mailing list