Package jadx.core.dex.visitors.debuginfo
Class DebugInfoApplyVisitor
java.lang.Object
jadx.core.dex.visitors.AbstractVisitor
jadx.core.dex.visitors.debuginfo.DebugInfoApplyVisitor
- All Implemented Interfaces:
IDexTreeVisitor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddArgName(InsnArg arg, Set<String> names) private static voidapplyDebugInfo(MethodNode mth) static booleanapplyDebugInfo(MethodNode mth, SSAVar ssaVar, ArgType type, String varName) static booleanapplyDebugInfo(MethodNode mth, SSAVar ssaVar, RegisterArg arg) private static voidFix debug info for splitter 'return' instructionsprivate static voidprivate static intprivate static booleanisInside(int var, int start, int end) private voidprivate static voidsearchAndApplyVarDebugInfo(MethodNode mth, SSAVar ssaVar) private static voidsearchDebugInfoByOffset(MethodNode mth, SSAVar ssaVar) private static voidsetNameForInsn(PhiInsn phiInsn, String name) voidvisit(MethodNode mth) Visit methodMethods inherited from class jadx.core.dex.visitors.AbstractVisitor
getName, init, toString, visit
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG
-
-
Constructor Details
-
DebugInfoApplyVisitor
public DebugInfoApplyVisitor()
-
-
Method Details
-
visit
Description copied from interface:IDexTreeVisitorVisit method- Specified by:
visitin interfaceIDexTreeVisitor- Overrides:
visitin classAbstractVisitor- Throws:
JadxException
-
applyDebugInfo
-
searchAndApplyVarDebugInfo
-
searchDebugInfoByOffset
-
isInside
private static boolean isInside(int var, int start, int end) -
getInsnOffsetByArg
-
applyDebugInfo
-
applyDebugInfo
-
fixLinesForReturn
Fix debug info for splitter 'return' instructions -
fixNamesForPhiInsns
-
addArgName
-
setNameForInsn
-
processMethodParametersAttribute
-