Package jadx.core.dex.visitors
Class DotGraphVisitor
java.lang.Object
jadx.core.dex.visitors.AbstractVisitor
jadx.core.dex.visitors.DotGraphVisitor
- All Implemented Interfaces:
IDexTreeVisitor
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDotGraphVisitor(boolean useRegions, boolean rawInsn) privateDotGraphVisitor(boolean useRegions, boolean rawInsn, Optional<IRegion> highlightRegion) -
Method Summary
Modifier and TypeMethodDescriptionstatic DotGraphVisitordebugDumpWithRegionHighlight(IRegion region) Helper function to generate a cfg at a given point showing only one of the regions in the graph.static DotGraphVisitordump()static DotGraphVisitordumpRaw()static DotGraphVisitorstatic DotGraphVisitorgetName()Visitor short idvoidsave(File dir, MethodNode mth) voidvisit(MethodNode mth) Visit methodMethods inherited from class jadx.core.dex.visitors.AbstractVisitor
init, toString, visit
-
Field Details
-
NL
- See Also:
-
NLQR
-
PRINT_DOMINATORS
private static final boolean PRINT_DOMINATORS- See Also:
-
PRINT_DOMINATORS_INFO
private static final boolean PRINT_DOMINATORS_INFO- See Also:
-
useRegions
private final boolean useRegions -
rawInsn
private final boolean rawInsn -
highlightRegion
-
-
Constructor Details
-
DotGraphVisitor
private DotGraphVisitor(boolean useRegions, boolean rawInsn) -
DotGraphVisitor
-
-
Method Details
-
dump
-
dumpRaw
-
dumpRegions
-
dumpRawRegions
-
debugDumpWithRegionHighlight
Helper function to generate a cfg at a given point showing only one of the regions in the graph. Intended to be called during a debugging session to produce a CFG with only a region of interest, with DotGraphVisitor.debugDumpWithRegionHiglight(region).visit(mth);- Parameters:
region- the region to show- Returns:
- the visitor, to be invoked with `.visit(mth);`
-
getName
Description copied from interface:IDexTreeVisitorVisitor short id- Specified by:
getNamein interfaceIDexTreeVisitor- Overrides:
getNamein classAbstractVisitor
-
visit
Description copied from interface:IDexTreeVisitorVisit method- Specified by:
visitin interfaceIDexTreeVisitor- Overrides:
visitin classAbstractVisitor
-
save
-