[Soot-list] try-catch-finally duplicate problem
Steven Arzt
Steven.Arzt at cased.de
Mon Sep 1 02:27:22 EDT 2014
Hi Daniel,
This happens because we get "duplicate" code from the various front-ends (ASM, Dexlib). In more detail, the following is generated:
* Run the code inside the try
* If an exception is caught inside the try, run the exception handler and then the finally stuff
* If an exception is caught inside the exception handler, run the finally code nevertheless
* If everything went alright, run the finally code
Instead of producing copies of the finally code, we could also try to identify such cases and always jump to the same label for the finally code. This would then be a new features inside Soot.
Best regards,
Steven
Danijel Mlinarić <Danijel.Mlinaric at fer.hr> wrote:
>_______________________________________________
>Soot-list mailing list
>Soot-list at CS.McGill.CA
>https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140901/2fd2e7fe/attachment.html
More information about the Soot-list
mailing list