[Soot-list] Retaining variable names from Java to Jimple

Eric Bodden eric.bodden at mail.mcgill.ca
Wed Aug 5 03:06:44 EDT 2009


Hi Prithvi.

Actually this option should just work. Could it be the case that you
are producing Jimple from bytecode? If you are, then you have to make
sure that the bytecode has debug symbols (although most compilers
insert these symbols by default nowadays). Otherwise, please tell us
more about how you use the option.

Eric

2009/8/4 Prithvi Pal Singh Bisht <pbisht at ernie.cs.uic.edu>:
>
> Hello,
>
> We are using SOOT to perform a transformation. We would like to retain the
> variable names from Java source code to the Jimple IR. We did try
> "-p jb use-original-names:true" command line option to do the same.
>
> However, either we are not using it correctly, or it doesnt seem to retain
> the variable names (locals, etc.). Is there a way we can retain most of the
> names from Java source to Jimple or there is a mapping that we can use to
> infer the same?
>
> Any help will be greatly appreciated.
>
> Regards,
> Prithvi Bisht
> http://cs.uic.edu/~pbisht
>
>



-- 
Eric Bodden
Software Technology Group
Technical University Darmstadt, Germany


More information about the Soot-list mailing list