This commit is contained in:
2024-09-23 02:21:50 +08:00
parent 433d76fb73
commit 619f3c36dc
11 changed files with 754 additions and 153 deletions

View File

@@ -27,6 +27,9 @@ public class RecompileConfig {
// The manually decompiled files (will not be overwritten by the auto
// decompiler)
public final File dirDecompFix;
// The automatically generated files get written here in case a gh_fix entry exists
// usable for referencing the modified function against the auto-decompiled one
public final File dirDecompRef;
public final Program currentProgram;
public final DecompileCache decompCache;
@@ -50,6 +53,7 @@ public class RecompileConfig {
dirDecompAuto = new File(outputDir, "gh_auto");
dirDecompFix = new File(outputDir, "gh_fix");
dirDecompRef = new File(outputDir, "gh_ref");
currentProgram = script.getCurrentProgram();