-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZLIB is now a requirement for compressed sleigh files
- Loading branch information
Showing
12 changed files
with
96 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/patches/stable/0005-Add-missing-index-check-to-prevent-errors-in-Windows.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From a7fc8b440ab58cb377460e11c7449488ff5abc96 Mon Sep 17 00:00:00 2001 | ||
From: Eric Kilmer <eric.d.kilmer@gmail.com> | ||
Date: Sat, 30 Mar 2024 18:46:16 -0400 | ||
Subject: [PATCH 5/5] Add missing index check to prevent errors in Windows | ||
|
||
Not sure why this only appears when testing on Windows. | ||
--- | ||
Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc | ||
index ac94d261c..a76ad389b 100644 | ||
--- a/Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc | ||
+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc | ||
@@ -1842,7 +1842,7 @@ void IfcProtooverride::execute(istream &s) | ||
s >> ws; | ||
Address callpoint(parse_machaddr(s,discard,*dcp->conf->types)); | ||
int4 i; | ||
- for(i=0;dcp->fd->numCalls();++i) | ||
+ for(i=0;i<dcp->fd->numCalls();++i) | ||
if (dcp->fd->getCallSpecs(i)->getOp()->getAddr() == callpoint) break; | ||
if (i == dcp->fd->numCalls()) | ||
throw IfaceExecutionError("No call is made at this address"); | ||
-- | ||
2.44.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.