Make sure files exist, move menu path
This commit is contained in:
parent
b30e53babd
commit
88d10a9a2e
|
@ -1,6 +1,6 @@
|
||||||
// Script to export decompiled C code from Ghidra
|
// Script to export decompiled C code from Ghidra
|
||||||
// @category _Reman3
|
// @category _Reman3
|
||||||
// @menupath Tools.Reman3.Decompile All
|
// @menupath Reman3.Decompile All
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
|
@ -500,6 +500,10 @@ public class Decompile extends GhidraScript {
|
||||||
throw new Exception("Output directory does not exist: " + RecompileConfig.INSTANCE.outputDir);
|
throw new Exception("Output directory does not exist: " + RecompileConfig.INSTANCE.outputDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make sure to create output folders
|
||||||
|
RecompileConfig.INSTANCE.dirDecompFix.mkdirs();
|
||||||
|
RecompileConfig.INSTANCE.dirDecompAuto.mkdirs();
|
||||||
|
|
||||||
buildFunctionBlacklist();
|
buildFunctionBlacklist();
|
||||||
|
|
||||||
List<Function> functions = new ArrayList<>();
|
List<Function> functions = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in New Issue