public soot.toolkits.exceptions.TrapTightener soot_toolkits_exceptions_TrapTightener() { if (instance_soot_toolkits_exceptions_TrapTightener == null) { synchronized (this) { if (instance_soot_toolkits_exceptions_TrapTightener == null) instance_soot_toolkits_exceptions_TrapTightener = new soot.toolkits.exceptions.TrapTightener(g); } } return instance_soot_toolkits_exceptions_TrapTightener; } protected void release_soot_toolkits_exceptions_TrapTightener() {
if (trapChain.size() > 0) { ExceptionalUnitGraph graph = new ExceptionalUnitGraph(body, throwAnalysis); Set<Unit> unitsWithMonitor = getUnitsWithMonitor(graph); Unit lastTrappedThrower = null; for (Unit u = firstTrappedUnit; u != null && u != firstUntrappedUnit; u = unitChain.getSuccOf(u)) { if (mightThrowTo(graph, u, trap)) { firstTrappedThrower = u; break; if (mightThrowTo(graph, u, trap)) { lastTrappedThrower = u; break;
p.add(new Transform("jb.tt", TrapTightener.v())); p.add(new Transform("jb.dtr", DuplicateCatchAllTrapRemover.v())); p.add(new Transform("jb.ese", EmptySwitchEliminator.v()));
u != null && u != firstUntrappedUnit; u = (Unit) unitChain.getSuccOf(u)) { if (mightThrowTo(graph, u, trap)) { firstTrappedThrower = u; break; for (Unit u = lastTrappedUnit; u != null; u = (Unit) unitChain.getPredOf(u)) { if (mightThrowTo(graph, u, trap)) { lastTrappedThrower = u; break;
p.add(new Transform("jb.tt", soot.toolkits.exceptions.TrapTightener.v())); p.add(new Transform("jb.ls", LocalSplitter.v())); p.add(new Transform("jb.a", Aggregator.v()));
u != null && u != firstUntrappedUnit; u = (Unit) unitChain.getSuccOf(u)) { if (mightThrowTo(graph, u, trap)) { firstTrappedThrower = u; break; for (Unit u = lastTrappedUnit; u != null; u = (Unit) unitChain.getPredOf(u)) { if (mightThrowTo(graph, u, trap)) { lastTrappedThrower = u; break;
public soot.toolkits.exceptions.TrapTightener soot_toolkits_exceptions_TrapTightener() { if( instance_soot_toolkits_exceptions_TrapTightener == null ) instance_soot_toolkits_exceptions_TrapTightener = new soot.toolkits.exceptions.TrapTightener( g ); return instance_soot_toolkits_exceptions_TrapTightener; }
p.add(new Transform("jb.tt", soot.toolkits.exceptions.TrapTightener.v())); p.add(new Transform("jb.ls", LocalSplitter.v())); p.add(new Transform("jb.a", Aggregator.v()));
public soot.toolkits.exceptions.TrapTightener soot_toolkits_exceptions_TrapTightener() { if( instance_soot_toolkits_exceptions_TrapTightener == null ) instance_soot_toolkits_exceptions_TrapTightener = new soot.toolkits.exceptions.TrapTightener( g ); return instance_soot_toolkits_exceptions_TrapTightener; }