Compare commits
4 Commits
bd69031a3d
...
88d10a9a2e
Author | SHA1 | Date |
---|---|---|
|
88d10a9a2e | |
|
b30e53babd | |
|
06b6124231 | |
|
d3a82e3336 |
|
@ -13,8 +13,10 @@ windows_libs_other/
|
|||
.venv
|
||||
*.gpr
|
||||
*.rep
|
||||
.vscode
|
||||
.clangd
|
||||
|
||||
ACP_Ray2/
|
||||
build/
|
||||
# game_re/
|
||||
windows_libs/
|
||||
windows_libs/
|
||||
|
|
|
@ -6,14 +6,7 @@
|
|||
"Rayman4Dev": true,
|
||||
"vbox": true,
|
||||
},
|
||||
// "java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -jar C:\\Projects\\ghidra_11.1.2_PUBLIC\\Ghidra\\Features\\Base\\lib\\Base.jar"
|
||||
// "java.configuration.runtimes": [
|
||||
// {
|
||||
// "name": "JavaSE-1.8",
|
||||
// "path": "C:\\Program Files\\Microsoft\\jdk-17.0.11.9-hotspot\\",
|
||||
// "sources": "C:\\Projects\\ghidra_11.1.2_PUBLIC\\Ghidra\\Features\\Base\\lib\\Base.jar"
|
||||
// }
|
||||
// ],
|
||||
// Use the redhat java extension
|
||||
"java.project.referencedLibraries": [
|
||||
"C:\\Projects\\ghidra_11.1.2_PUBLIC\\Ghidra\\Features\\Base\\lib\\Base.jar",
|
||||
"C:\\Projects\\ghidra_11.1.2_PUBLIC\\Ghidra\\Features\\Decompiler\\lib\\Decompiler.jar",
|
|
@ -1,6 +1,6 @@
|
|||
// Script to export decompiled C code from Ghidra
|
||||
// @category _Reman3
|
||||
// @menupath Tools.Reman3.Decompile All
|
||||
// @menupath Reman3.Decompile All
|
||||
|
||||
import java.io.File;
|
||||
import java.io.PrintWriter;
|
||||
|
@ -500,6 +500,10 @@ public class Decompile extends GhidraScript {
|
|||
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();
|
||||
|
||||
List<Function> functions = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue