From 5c9d2ca57afd7ea824f92966cabfcc66627c5ca4 Mon Sep 17 00:00:00 2001 From: dev747368 <48332326+dev747368@users.noreply.github.com> Date: Fri, 30 Jul 2021 15:24:48 -0400 Subject: [PATCH] GP-1174 fix Pe/Mz loaders when COFF aux debug symbols are present Pe/Mz loaders would error if run under eclipse (or the continuesinterceptor is turned off) when the aux symbols are present because the inner classes were marked as private. --- .../app/util/bin/format/pe/debug/DebugCOFFSymbolAux.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pe/debug/DebugCOFFSymbolAux.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pe/debug/DebugCOFFSymbolAux.java index 6dd0682dc7..089f2406db 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pe/debug/DebugCOFFSymbolAux.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pe/debug/DebugCOFFSymbolAux.java @@ -143,7 +143,7 @@ public class DebugCOFFSymbolAux implements StructConverter { return structure; } - private static class AuxSym implements StructConverter { + public static class AuxSym implements StructConverter { private int tagIndex; private short miscLnSzLinenumber; private short miscLnSzSize; @@ -209,7 +209,7 @@ public class DebugCOFFSymbolAux implements StructConverter { } } - private static class AuxFile implements StructConverter { + public static class AuxFile implements StructConverter { private String name; private static AuxFile createAuxFile(FactoryBundledWithBinaryReader reader, int index) throws IOException { @@ -240,7 +240,7 @@ public class DebugCOFFSymbolAux implements StructConverter { } } - private static class AuxSection implements StructConverter { + public static class AuxSection implements StructConverter { private int length; private short numberOfRelocations; private short numberOfLinenumbers;