bug fix: heap contexts for call sites were propgated from caller to callee incorrectl...
[IRC.git] / Robust / src / Analysis / Disjoint / ReachGraph.java
index 6eedd6ba33374576d5dc230d3447b230b10450b5..c64b2abe3ec00f2bbdc1830d3eaa80e36282a7cf 100644 (file)
@@ -4466,7 +4466,9 @@ public class ReachGraph {
     try {
       // remove all non-word characters from the graph name so
       // the filename and identifier in dot don't cause errors
-      graphName = graphName.replaceAll("[\\W]", "");
+      // jjenista - also replace underscore '_' to prevent some
+      // really, really long names from IHMS debugging
+      graphName = graphName.replaceAll("[\\W_]", "");
 
       BufferedWriter bw =
         new BufferedWriter(new FileWriter(graphName+".dot") );