[Soot-list] use-original-names stopped working

Manas Thakur manasthakur17 at gmail.com
Wed Dec 30 07:29:32 EST 2015


Hi Patrick,

I explicitly gave the option “-g:vars” now with javac, and am able to get the variable names with Soot again. Thanks!

On a side note, I never used this option explicitly earlier and “use-original-names” used to work; probably the Java version got updated on my machine.

Regards,
Manas

> On 30-Dec-2015, at 5:53 PM, Patrick Lam <plam at sable.mcgill.ca> wrote:
> 
> The obvious guess would be that somehow you're not generating debug information (-g) anymore. The solution is probably in the contents of the class files that you're feeding to Soot somewhere.
> 
> pat
> 
> On 12/30/2015 01:23 PM, Manas Thakur wrote:
>> No, the Java compiler is the same.
>> 
>> Regards,
>> Manas
>> 
>>> On 30-Dec-2015, at 5:51 PM, Patrick Lam <plam at sable.mcgill.ca> wrote:
>>> 
>>> (Please reply-all so that others can pitch in with thoughts as well).
>>> 
>>> Are the class files somehow being generated by a different Java compiler now?
>>> 
>>> pat
>>> 
>>> On 12/30/2015 01:20 PM, Manas Thakur wrote:
>>>> Hi Patrick,
>>>> 
>>>> The class files have changed. I tried deleting and compiling everything again. But what could be the reason for them to affect the setting?
>>>> 
>>>> Regards,
>>>> Manas
>>>> 
>>>>> On 30-Dec-2015, at 5:47 PM, Patrick Lam <plam at sable.mcgill.ca> wrote:
>>>>> 
>>>>> Hi Manas,
>>>>> 
>>>>> Have you ensured that the class files that you're using haven't changed?
>>>>> 
>>>>> pat
>>>>> 
>>>>> On 12/30/2015 01:17 PM, Manas Thakur wrote:
>>>>>> Hello all,
>>>>>> 
>>>>>> I am using the option “-p jb use-original-names” to preserve the original names of variables in Jimple. However, I am getting locals like “lo, l1” instead. I remember I was able to get the original names till yesterday. I haven’t changed the soot version or anything else. Any suggestions on what could I have done wrong?
>>>>>> 
>>>>>> Regards,
>>>>>> Manas
>>>>>> _______________________________________________
>>>>>> Soot-list mailing list
>>>>>> Soot-list at CS.McGill.CA
>>>>>> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 



More information about the Soot-list mailing list