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

Re: Soot bugs when first Unit is a target



Archie Cobbs wrote:
Chris Pickett wrote:

Why not try and introduce (at the right time) fake heads (using NOP's?) before targets that are the first statement?

NopEliminator would probably interfere with this plan; you'd have to stop it from touching graph heads until you were done with Jimple, and then go back and get rid of all those heads. It could work, I think.


I tried it and it didn't work, even if I added the Nop's after
the jop phase had already run. Not sure why that didn't fix it,
but it didn't..

NopEliminator is part of jb, not jop, although that's probably not relevant. Are the Nop's still there when it dies?


Chris