[Soot-list] SootField Line Numbers

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Tue May 24 20:02:12 EDT 2011


Hi Richard.

I am afraid that is impossible because the Java class file format
stores line numbers only for code, not for fields. Hence Soot has no
way to recover this info from the code.

May I ask why you would need that information? Maybe we can help you
out some other way.

Eric

On 24 May 2011 09:34, Richard Warburton <richard.warburton at gmail.com> wrote:
> Is it possible to get the line number of a soot field?  With Units you
> can just get a tag, but I can't see a tag attached to the SootField
> instance I'm inspecting, and I've compiled with all the debugging
> information.
>
> regards,
>
>  Richard
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>



-- 
Dr. Eric Bodden, http://bodden.de/
Principal Investigator in Secure Services at CASED
Coordinator of the CASED Advisory Board of Study Affairs
PostDoc at Software Technology Group, Technische Universität Darmstadt
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt


More information about the Soot-list mailing list