[Soot-list] VerifyError while instrumenting with Chain.insertBefore() method.

Neetha Maria Sebastian neetha.sebastian at gmail.com
Wed Jun 16 14:44:30 EDT 2010


Thank you so much, I finally understood the problem!

On Wed, Jun 16, 2010 at 12:57 AM, Patrick Lam <plam at cs.mcgill.ca> wrote:

> On 06/16/10 00:43, Neetha Maria Sebastian wrote:
>
>> I did not intend to limit my arguments to bytes / booleans, but yes it
>> does appear that this is what I end up doing. myIfBefore expects an
>> integer and an Object. The method signature is :
>>
>> public static void myIfBefore(int iid, Object parameter);
>>
>
> You'll have to convert your non-object parameters into Objects somehow. You
> might consider how newer versions of Java do it automatically (autoboxing),
> but you would have to implement it yourself. Clearly the VM ought to
> complain if it sees a method which expects an "Object" and gets a "byte".
>
> pat
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100616/f917352c/attachment.html 


More information about the Soot-list mailing list