[Soot-list] Map from source line numbers to class file line numbers

Bodden, Eric eric.bodden at sit.fraunhofer.de
Fri Nov 7 04:56:24 EST 2014


Hi Manur.

Yes, you can get them the very same way. In the current API (nightly build) there is even a convenience method for it: getJavaSourceStartLineNumber()

Best wishes,
Eric

> On 07.11.2014, at 07:21, Manas Thakur <manasthakur17 at gmail.com> wrote:
> 
> Using "-keep-line-number", I can get the line numbers from java files. When I am analyzing class files, I want to get the corresponding line numbers in the class file. I know that they are available as an output of "javap -l"; is there a way I can get them in Soot?
> 
> - Manas
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list

--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 869-127
Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20141107/25dc8025/attachment.bin 


More information about the Soot-list mailing list