We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62cbafe commit e621a36Copy full SHA for e621a36
src/soot/util/PhaseDumper.java
@@ -154,6 +154,16 @@ private static java.io.File makeDirectoryIfMissing(Body b)
154
throws java.io.IOException {
155
StringBuffer buf =
156
new StringBuffer(soot.SourceLocator.v().getOutputDir());
157
+
158
+ //If the options specify that the output directory should be a jar, we
159
+ // must use a different directory for the graphs
160
+ if(Options.v().output_jar()){
161
+ if(buf.toString().endsWith(".jar")){
162
+ buf.delete(buf.length()-4, buf.length());
163
+ }
164
+ buf.append(".graphs");
165
166
167
buf.append(File.separatorChar);
168
String className = b.getMethod().getDeclaringClass().getName();
169
buf.append(className);
0 commit comments