[Soot-list] Equality of SootMethod

Denis Bogdanas denis.bogdanas at gmail.com
Fri May 13 21:54:04 EDT 2016


Actually my answer above is not right. I just encountered a new place where
SootMethod is instantiated: inside SootMethodRefImpl.resolve().

I agree, an equals() would be highly useful.


On 12 May 2016 at 10:11, Denis Bogdanas <denis.bogdanas at gmail.com> wrote:

> I believe Scene has only one instance of SootMethod for every method.
> Plain == is enough. You are not supposed to instantiate SootMethod by
> yourself.
>
>
> On 12 May 2016 at 08:08, Simone Aonzo <simone.aonzo at gmail.com> wrote:
>
>> Hi all,
>>
>> how can I check if two SootMethod are equals?
>>
>> There isn't an equals override in the source:
>> https://github.com/Sable/soot/blob/develop/src/soot/SootMethod.java
>>
>> Have a nice day,
>> Simone
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at CS.McGill.CA
>> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>>
>
>
>
> --
> Denis
>



-- 
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160513/497a1a8f/attachment.html 


More information about the Soot-list mailing list