[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dava and synchronized blocks



I am using 2.0.1, but i think i will try the development version soon if
that may solve the problem

Jelte

> Are you using Soot 2.0.1  or the current soot development version?
> 
> Laurie
> 
> +----------------------------------------------------------------+
> | Laurie Hendren, Professor, Computer Science, McGill University |
> | Visiting Fellow, Oxford University Computing Laboratory,       |
> | Wolfson Building, Parks Road     tel: +44 1865 283551 (abroad) |
> | Oxford, UK  OX1 3QD                   01865 283551 (inside UK) |
> | hendren@cs.mcgill.ca       http://www.sable.mcgill.ca/~hendren |
> +----------------------------------------------------------------+
> 
> On 29 Sep 2003, Jelte Jansen wrote:
> 
> >
> > Hi,
> >
> > I have some trouble decompiling synchronized blocks with soot, it seems
> > that it cannot handle the way the compiler adds exception handling for
> > synchronization. Is this correct? If so, is there any way to circumvent
> > the problem?
> >
> > Jelte Jansen
> >
> >
> > Exception in thread "main" java.util.NoSuchElementException
> > 	at java.util.LinkedList.getLast(LinkedList.java:118)
> > 	at
> > soot.dava.toolkits.base.finders.SynchronizedBlockFinder.find_VariableIncreasing(Unknown Source)
> > 	at
> > soot.dava.toolkits.base.finders.SynchronizedBlockFinder.set_MonitorLevels(Unknown Source)
> > 	at soot.dava.toolkits.base.finders.SynchronizedBlockFinder.find(Unknown
> > Source)
> > 	at soot.dava.DavaBody.<init>(DavaBody.java:166)
> > 	at soot.dava.Dava.newBody(Dava.java:68)
> > 	at soot.PackManager.runBodyPacks(PackManager.java:446)
> > 	at soot.PackManager.runBodyPacks(PackManager.java:282)
> > 	at soot.PackManager.runPacks(PackManager.java:241)
> > 	at soot.Main.run(Main.java:172)
> > 	at soot.Main.main(Main.java:152)
> >
> >
> >
> >