Ghidra is a software reverse engineering (SRE) framework
GP-348_emteere fixed bad ehFrame addresses due to a fix elsewhere in the code no longer needing a translation
emteere71b50a6929b0
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/exceptionhandlers/gcc/structures/ehFrame/FrameDescriptionEntry.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/exceptionhandlers/gcc/structures/ehFrame/FrameDescriptionEntry.javaindex fb4b3ab504..9a7b64e81a 100644--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/exceptionhandlers/gcc/structures/ehFrame/FrameDescriptionEntry.java+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/exceptionhandlers/gcc/structures/ehFrame/FrameDescriptionEntry.java@@ -269,14 +269,6 @@ public class FrameDescriptionEntry extends GccAnalysisClass {createAndCommentData(program, addr, encodedDt, comment, CodeUnit.EOL_COMMENT);if (pcBeginAddr.getOffset() != 0x0) {- // if the program was moved from a preferred image base, need to adjust- // the beginning of frame pointer- Long oib = ElfLoader.getElfOriginalImageBase(program);- if (oib != null) {- long imageBaseOffset = program.getImageBase().getOffset() - oib;- pcBeginAddr = pcBeginAddr.add(imageBaseOffset);- }-program.getReferenceManager().addMemoryReference(addr, pcBeginAddr, RefType.DATA,SourceType.ANALYSIS, 0);}