[Soot-list] Get source code by line number

Marc-Andre Laverdiere-Papineau marc-andre.laverdiere-papineau at polymtl.ca
Sat Feb 23 14:43:06 EST 2013


Look at the tags on your objects. Are you running with the option to 
preserve the line numbers?


Marc-André Laverdière-Papineau
Doctorant - PhD Candidate

On 13-02-23 01:35 PM, Zeinab Lashkaripour wrote:
> Hi,
> I have got the source code line number from the tags but I wanted to get
> the source code of that specific line number,
> Does Soot have anything for this?  (but didn't find any solution)
> I looked in the API and found "MethodSource: getSource()" therefore I
> used it as: "MethodSource ms = classMethod.getSource();" but it returned
> null.
>
>
> Regards,
> Zeinab
>
>
> _______________________________________________
> 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