diff --git a/CHANGELOG.md b/CHANGELOG.md index b73421056..7053eb365 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ All notable changes to this project will be documented in this file. - #1548 correctly handle empty generated file names - #1379 AS3 - better handling local registers postincrement/decrement - Better unresolved if handling +- Escaping in P-code Graphviz exporter (Problems with graphs containing backslash strings) ## [11.3.0] - 2020-04-25 ### Added diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/script/PcodeGraphVizExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/script/PcodeGraphVizExporter.java index 1d575dd8a..466b75160 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/script/PcodeGraphVizExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/script/PcodeGraphVizExporter.java @@ -131,6 +131,7 @@ public class PcodeGraphVizExporter { } } String labelStr = blkCodeBuilder.toString(); + labelStr = labelStr.replace("\\", "\\\\"); labelStr = labelStr.replace("\"", "\\\""); labelStr = labelStr.replace("\r\n", "\\l"); String partBlockName = getBlockName(graphSource, part);