public void visitEnd() { if (visitor != null) { visitor.visitEnd(); } } }
@Override public void accept(DexDebugVisitor cv) { cv.visitEndLocal(reg, label); } }
public void visitEpiogue(DexLabel dexLabel) { if (visitor != null) { visitor.visitEpiogue(dexLabel); } }
public void accept(DexDebugVisitor v) { if (parameterNames != null) { for (int i = 0; i < parameterNames.size(); i++) { String name = parameterNames.get(i); if (name != null) { v.visitParameterName(i, name); } } } if (debugNodes != null) { for (DexDebugOpNode n : debugNodes) { n.accept(v); } } if (fineName != null) { v.visitSetFile(fineName); } }
lastEntryForReg[curReg] = le; if (name != null) { dcv.visitParameterName(i, name); lastEntryForReg[reg] = le; order(labelMap, address); dcv.visitStartLocal(reg, labelMap.get(address), name, type, null); LocalEntry le = new LocalEntry(name, type, signature); order(labelMap, address); dcv.visitStartLocal(reg, labelMap.get(address), name, type, signature); lastEntryForReg[reg] = le; dcv.visitRestartLocal(reg, labelMap.get(address)); dcv.visitEndLocal(reg, labelMap.get(address)); dcv.visitPrologue(labelMap.get(address)); break; case DBG_SET_EPILOGUE_BEGIN: order(labelMap, address); dcv.visitEpiogue(labelMap.get(address)); break; case DBG_SET_FILE: dcv.visitLineNumber(line, labelMap.get(address)); break;
public void visitStartLocal(int reg, DexLabel label, String name, String type, String signature) { if (visitor != null) { visitor.visitStartLocal(reg, label, name, type, signature); } }
public void visitPrologue(DexLabel dexLabel) { if (visitor != null) { visitor.visitPrologue(dexLabel); } }
@Override public void accept(DexDebugVisitor cv) { cv.visitLineNumber(line, label); } }
@Override public void accept(DexDebugVisitor cv) { cv.visitRestartLocal(reg, label); } }
/** * * @param parameterIndex * start with the first index of DexMethod.getParameterTypes(), no 'this' * @param name */ public void visitParameterName(int parameterIndex, String name) { if (visitor != null) { visitor.visitParameterName(parameterIndex, name); } }
public void visitSetFile(String file) { if (visitor != null) { visitor.visitSetFile(file); } }
lastEntryForReg[curReg] = le; if (name != null) { dcv.visitParameterName(i, name); lastEntryForReg[reg] = le; order(labelMap, address); dcv.visitStartLocal(reg, labelMap.get(address), name, type, null); LocalEntry le = new LocalEntry(name, type, signature); order(labelMap, address); dcv.visitStartLocal(reg, labelMap.get(address), name, type, signature); lastEntryForReg[reg] = le; dcv.visitRestartLocal(reg, labelMap.get(address)); dcv.visitEndLocal(reg, labelMap.get(address)); dcv.visitPrologue(labelMap.get(address)); break; case DBG_SET_EPILOGUE_BEGIN: order(labelMap, address); dcv.visitEpiogue(labelMap.get(address)); break; case DBG_SET_FILE: dcv.visitLineNumber(line, labelMap.get(address)); break;
@Override public void accept(DexDebugVisitor cv) { cv.visitStartLocal(reg, label, name, type, signature); } }
@Override public void accept(DexDebugVisitor cv) { cv.visitPrologue(label); } }
public void visitLineNumber(int line, DexLabel label) { if (visitor != null) { visitor.visitLineNumber(line, label); } }
public void visitRestartLocal(int reg, DexLabel label) { if (visitor != null) { visitor.visitRestartLocal(reg, label); } }
public void accept(DexDebugVisitor v) { if (parameterNames != null) { for (int i = 0; i < parameterNames.size(); i++) { String name = parameterNames.get(i); if (name != null) { v.visitParameterName(i, name); } } } if (debugNodes != null) { for (DexDebugOpNode n : debugNodes) { n.accept(v); } } if (fineName != null) { v.visitSetFile(fineName); } }
String name = m.paramNames[i]; if (name != null) { dexDebugVisitor.visitParameterName(i, name);
public void visitSetFile(String file) { if (visitor != null) { visitor.visitSetFile(file); } }
if (ddv != null) { read_debug_info(debug_info_off, registers_size, isStatic, method, labelsMap, ddv); ddv.visitEnd();