mirror of
https://github.com/lifting-bits/sleigh
synced 2026-06-21 13:56:12 +00:00
Update Ghidra HEAD to commit 549735683 (#387)
Bump Ghidra HEAD commit 549735683 Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/sleighbase.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.hh M Ghidra/Features/Decompiler/src/decompile/cpp/slghparse.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghparse.y M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.hh M Ghidra/Processors/RISCV/data/languages/riscv.opinion ``` Commit details: ``` [Commit 1/7] Hash: 6208df2d50d716b4faf87d3a0c0603d45aac4cb3 Date: 2026-01-13 10:44:59 -0500 Message: GP-1 Corrected RISCV import opinion file Files changed: M Ghidra/Processors/RISCV/data/languages/riscv.opinion [Commit 2/7] Hash: 1789bb9c5e66cb1e5ad2072b73c4bf7fbc713f67 Date: 2026-01-12 21:00:06 -0500 Message: GP-1 minor doc fix Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc [Commit 3/7] Hash: 7828f235d315807d18ecb873fad34b209a02ce65 Date: 2026-01-12 21:51:54 +0000 Message: GP-6316 Increase maximum temporary size for SLEIGH to 256 bytes Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/sleighbase.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.hh [Commit 4/7] Hash: 4830a7ab99548aa898e861b967f48c92dd741f48 Date: 2026-01-12 19:33:12 +0000 Message: GP-6314 Reset label counter for every named section Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.hh M Ghidra/Features/Decompiler/src/decompile/cpp/slghparse.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghparse.y [Commit 5/7] Hash: 123bd5cbe6d54105c96bb8a0b5c1b81f84b29e97 Date: 2026-01-09 20:37:38 +0000 Message: GP-6310 Apply extension patch if consumption is beyond small variable Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.hh [Commit 6/7] Hash: 451334568f3200f453b6b3985b5949f72747f1c6 Date: 2026-01-09 20:15:16 +0000 Message: Let RuleShiftAnd apply in more situations Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc [Commit 7/7] Hash: 92091a7a2ad59309514d808c7eb890492f5c49e8 Date: 2025-12-02 10:59:10 +0100 Message: decompiler: fix bit extractions with RuleShiftAnd and RuleShiftCompare Details: Fixes https://github.com/NationalSecurityAgency/ghidra/issues/8717 RuleShiftAnd previously replaced the AND opcode with COPY. This, however doesn't update the NZMask of the Varnode. As a result, following rules may assume the NZMask after the AND operation also applies to the Varnode being copied. In combination with RuleShiftCompare, an expression of the form (a & bitmask) >> const != 0, wrongfully is reduced to a != 0. Instead of replacing the AND with COPY, we now replace the input of the shift operation instead. This way, future rules will see the correct NZMask. Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc ```
This commit is contained in:
committed by
GitHub
parent
edc5fabd3a
commit
1df5e051d3
@@ -51,7 +51,7 @@ if("${sleigh_RELEASE_TYPE}" STREQUAL "HEAD")
|
||||
# TODO: CMake only likes numeric characters in the version string....
|
||||
set(ghidra_head_version "12.1")
|
||||
set(ghidra_version "${ghidra_head_version}")
|
||||
set(ghidra_head_git_tag "6ef256cef16115d226f62baed93251fa15f4c173")
|
||||
set(ghidra_head_git_tag "549735683cce5bd6220a4355de123a825ebff328")
|
||||
set(ghidra_git_tag "${ghidra_head_git_tag}")
|
||||
set(ghidra_shallow FALSE)
|
||||
set(ghidra_patches
|
||||
|
||||
Reference in New Issue
Block a user