-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path1011-FrameDescriptionEntry-Ignore-decoded-null-refer.patch
More file actions
26 lines (22 loc) · 1.32 KB
/
Copy path1011-FrameDescriptionEntry-Ignore-decoded-null-refer.patch
File metadata and controls
26 lines (22 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: astrelsky <ajs222@njit.edu>
Date: Sat, 14 Sep 2019 12:25:42 -0400
Subject: [PATCH] 1011: FrameDescriptionEntry: Ignore decoded null references
Ignore decoded null references
---
.../gcc/structures/ehFrame/FrameDescriptionEntry.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.java
index 1a049ed8c6..5a9c13b0ed 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
@@ -636,7 +636,7 @@ public class FrameDescriptionEntry extends GccAnalysisClass {
createAndCommentData(program, augmentationDataAddr, lsdaDecoder.getDataType(program),
lsdaComment, CommentType.EOL);
- if (augmentationDataAddr.equals(lsdaAddr)) {
+ if (augmentationDataAddr.equals(lsdaAddr) || lsdaAddr.getOffset() == 0) {
// decoded a reference that returned here -- a null reference
return;
}
--
2.45.1