[Soot-list] try-catch-finally duplicate problem

Bodden, Eric eric.bodden at sit.fraunhofer.de
Mon Sep 1 12:53:00 EDT 2014


Hi Daniel.

You will have the same structure also in Java bytecode. Hence Soot can't and won't really do much about it.

You could write a custom analysis to recognize and maybe tag such duplicates but currently there is no such analysis in Soot. Such a contribution would be welcome, though. One could also exploit line-number information if present.

Cheers,
Eric



On 30.08.2014, at 18:49, Danijel Mlinarić <Danijel.Mlinaric at fer.hr> wrote:

> Hello,
> 
> I'm trying to analyze try-catch-finally blocks using jimple and graphs, problem is duplicated finally code after try and catch block. 
> Is there any way to get one finally block per try-catch-finally or soot support some methods to determine equal duplicated blocks in jimple?
> 
> Any help is appreciated a lot.
> 
> Regards,
> Daniel
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list

--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering  at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140901/8b31f96a/attachment.bin 


More information about the Soot-list mailing list