From 78ed150957a331fc02fbecee8278dc9ea173880c Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Wed, 12 Mar 2025 14:57:59 -0400 Subject: [PATCH] Ghidra 11.3.1 --- src/patches/stable/0001-Fix-UBSAN-errors-in-decompiler.patch | 2 +- ...2-Use-stroull-instead-of-stroul-to-parse-address-offse.patch | 2 +- .../stable/0003-Use-string-resize-instead-of-reserve.patch | 2 +- ...4-Ignore-floating-point-test-due-to-compilation-differ.patch | 2 +- ...5-Allow-positive-or-negative-NAN-in-decompiler-floatin.patch | 2 +- ...06-decompiler-Fix-strict-weak-ordering-TypePartialEnum.patch | 2 +- src/setup-ghidra-source.cmake | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/patches/stable/0001-Fix-UBSAN-errors-in-decompiler.patch b/src/patches/stable/0001-Fix-UBSAN-errors-in-decompiler.patch index 1a34335..df4ef93 100644 --- a/src/patches/stable/0001-Fix-UBSAN-errors-in-decompiler.patch +++ b/src/patches/stable/0001-Fix-UBSAN-errors-in-decompiler.patch @@ -1,4 +1,4 @@ -From e694ad80e2965178c541a7414e55c76a1e318411 Mon Sep 17 00:00:00 2001 +From 87732ad7cb2b5ed01e47b3c0a19af14acbb382e9 Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Mon, 12 Aug 2024 12:02:35 -0400 Subject: [PATCH 1/6] Fix UBSAN errors in decompiler diff --git a/src/patches/stable/0002-Use-stroull-instead-of-stroul-to-parse-address-offse.patch b/src/patches/stable/0002-Use-stroull-instead-of-stroul-to-parse-address-offse.patch index 6b9d69d..0a9fa7d 100644 --- a/src/patches/stable/0002-Use-stroull-instead-of-stroul-to-parse-address-offse.patch +++ b/src/patches/stable/0002-Use-stroull-instead-of-stroul-to-parse-address-offse.patch @@ -1,4 +1,4 @@ -From cc36245a600051a66a4ab6c6ffff835d609ae92a Mon Sep 17 00:00:00 2001 +From 1a7a46df85bcb1bd8ccdf581efbeadbb0d95a7d4 Mon Sep 17 00:00:00 2001 From: Alex Cameron Date: Wed, 3 Aug 2022 20:01:18 +1000 Subject: [PATCH 2/6] Use `stroull` instead of `stroul` to parse address diff --git a/src/patches/stable/0003-Use-string-resize-instead-of-reserve.patch b/src/patches/stable/0003-Use-string-resize-instead-of-reserve.patch index c52bb3c..c366a57 100644 --- a/src/patches/stable/0003-Use-string-resize-instead-of-reserve.patch +++ b/src/patches/stable/0003-Use-string-resize-instead-of-reserve.patch @@ -1,4 +1,4 @@ -From f0ee9c783a7acd850f6565278842a23865441e6a Mon Sep 17 00:00:00 2001 +From 53863004fc50edcfc0e42ca0c2c95aff86d4c3d0 Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Tue, 29 Oct 2024 15:30:57 -0400 Subject: [PATCH 3/6] Use string resize instead of reserve diff --git a/src/patches/stable/0004-Ignore-floating-point-test-due-to-compilation-differ.patch b/src/patches/stable/0004-Ignore-floating-point-test-due-to-compilation-differ.patch index 1e058a6..ef259ed 100644 --- a/src/patches/stable/0004-Ignore-floating-point-test-due-to-compilation-differ.patch +++ b/src/patches/stable/0004-Ignore-floating-point-test-due-to-compilation-differ.patch @@ -1,4 +1,4 @@ -From 43b0f78ca2ce8e2adbcc4f3b3298940c72dc9b5b Mon Sep 17 00:00:00 2001 +From a898b0df5865d8aafab60bdaae04c8fc373cd476 Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Tue, 29 Oct 2024 17:51:09 -0400 Subject: [PATCH 4/6] Ignore floating point test due to compilation differences diff --git a/src/patches/stable/0005-Allow-positive-or-negative-NAN-in-decompiler-floatin.patch b/src/patches/stable/0005-Allow-positive-or-negative-NAN-in-decompiler-floatin.patch index 7310092..b5f2faa 100644 --- a/src/patches/stable/0005-Allow-positive-or-negative-NAN-in-decompiler-floatin.patch +++ b/src/patches/stable/0005-Allow-positive-or-negative-NAN-in-decompiler-floatin.patch @@ -1,4 +1,4 @@ -From ef11bf80063c80967a6ddb8726e710bd207575f3 Mon Sep 17 00:00:00 2001 +From 27d5d7afc21a3620362df245682748fdbaec570a Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Wed, 30 Oct 2024 14:26:57 -0400 Subject: [PATCH 5/6] Allow positive or negative NAN in decompiler floating diff --git a/src/patches/stable/0006-decompiler-Fix-strict-weak-ordering-TypePartialEnum.patch b/src/patches/stable/0006-decompiler-Fix-strict-weak-ordering-TypePartialEnum.patch index 3ac0565..e62ac00 100644 --- a/src/patches/stable/0006-decompiler-Fix-strict-weak-ordering-TypePartialEnum.patch +++ b/src/patches/stable/0006-decompiler-Fix-strict-weak-ordering-TypePartialEnum.patch @@ -1,4 +1,4 @@ -From 5d6886b914c266f0a97941666fda75e0f7311d35 Mon Sep 17 00:00:00 2001 +From 78b88541c36957407e9b8786f9b73c25fe6b85dd Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Sat, 8 Feb 2025 17:59:57 -0500 Subject: [PATCH 6/6] decompiler: Fix strict weak ordering TypePartialEnum diff --git a/src/setup-ghidra-source.cmake b/src/setup-ghidra-source.cmake index b24c8da..2dd8389 100644 --- a/src/setup-ghidra-source.cmake +++ b/src/setup-ghidra-source.cmake @@ -22,7 +22,7 @@ set_property(CACHE sleigh_RELEASE_TYPE PROPERTY STRINGS "stable" "HEAD") find_package(Git REQUIRED) # Ghidra pinned stable version commit -set(ghidra_version "11.3") +set(ghidra_version "11.3.1") set(ghidra_git_tag "Ghidra_${ghidra_version}_build") set(ghidra_shallow TRUE)