mirror of
https://github.com/lifting-bits/sleigh
synced 2026-06-21 13:56:12 +00:00
master
405 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f4fe9a9c46 |
build(deps): bump actions/checkout from 6 to 7 (#427)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
6f71b8bb38 |
Update Ghidra HEAD to commit 74d498f8d (#425)
Bump Ghidra HEAD commit 74d498f8d Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/space.hh M Ghidra/Features/Decompiler/src/decompile/cpp/translate.cc M Ghidra/Features/Decompiler/src/decompile/cpp/translate.hh M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh M Ghidra/Processors/68000/certification.manifest M Ghidra/Processors/68000/data/languages/68000.ldefs M Ghidra/Processors/68000/data/languages/68000.sinc A Ghidra/Processors/68000/data/languages/CPU32.slaspec M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc M Ghidra/Processors/HCS12/data/languages/HCS_HC12.sinc M Ghidra/Processors/x86/certification.manifest M Ghidra/Processors/x86/data/languages/avx.sinc M Ghidra/Processors/x86/data/languages/avx2.sinc M Ghidra/Processors/x86/data/languages/avx2_manual.sinc M Ghidra/Processors/x86/data/languages/avx512.sinc M Ghidra/Processors/x86/data/languages/avx512_manual.sinc M Ghidra/Processors/x86/data/languages/avx_manual.sinc A Ghidra/Processors/x86/data/languages/cmpccxadd.sinc M Ghidra/Processors/x86/data/languages/fma.sinc M Ghidra/Processors/x86/data/languages/ia.sinc A Ghidra/Processors/x86/data/languages/rao.sinc M Ghidra/Processors/x86/data/languages/sgx.sinc M Ghidra/Processors/x86/data/languages/x86-64.slaspec M Ghidra/Processors/x86/data/languages/x86.slaspec ``` Commit details: ``` [Commit 1/8] Hash: 6dd07f90ffcfc4136005e5e6c439b76f572bfdd8 Date: 2026-06-08 21:37:27 +0000 Message: GP-6936 Support for wrapped memory ranges Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/space.hh M Ghidra/Features/Decompiler/src/decompile/cpp/translate.cc M Ghidra/Features/Decompiler/src/decompile/cpp/translate.hh M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh [Commit 2/8] Hash: 70b7ec590ad646ebe767e099a88309fad37035cc Date: 2026-06-10 07:25:22 -0400 Message: GP-6061: Implemented several x86 AVX instructions Files changed: M Ghidra/Processors/x86/data/languages/avx.sinc M Ghidra/Processors/x86/data/languages/avx2.sinc M Ghidra/Processors/x86/data/languages/avx2_manual.sinc M Ghidra/Processors/x86/data/languages/avx512.sinc M Ghidra/Processors/x86/data/languages/avx512_manual.sinc M Ghidra/Processors/x86/data/languages/avx_manual.sinc M Ghidra/Processors/x86/data/languages/fma.sinc [Commit 3/8] Hash: a3167f7bd774f6482e193dcffebf72d6adccf1bf Date: 2026-06-09 15:53:44 +0000 Message: GP-0: Refactor x86 jcc bh change to reduce impact on existing code Files changed: M Ghidra/Processors/x86/data/languages/ia.sinc [Commit 4/8] Hash: 21a825a05d7a24848a36758861898abaad9a1ca5 Date: 2026-06-08 15:11:29 -0400 Message: GP-6642: Corrected disassembly of HCS-H12 BRN instruction Files changed: M Ghidra/Processors/HCS12/data/languages/HCS_HC12.sinc [Commit 5/8] Hash: 2c3ca6df4cd24ca0d809a93450b78d9e7ff2ee7a Date: 2026-06-08 15:10:05 -0400 Message: GP-5780: Added several missing x86 instructions Files changed: M Ghidra/Processors/x86/certification.manifest A Ghidra/Processors/x86/data/languages/cmpccxadd.sinc M Ghidra/Processors/x86/data/languages/ia.sinc A Ghidra/Processors/x86/data/languages/rao.sinc M Ghidra/Processors/x86/data/languages/sgx.sinc M Ghidra/Processors/x86/data/languages/x86-64.slaspec M Ghidra/Processors/x86/data/languages/x86.slaspec [Commit 6/8] Hash: 5194daa9e57a213f233ed122160a101a1131acce Date: 2026-06-06 13:34:24 +0200 Message: ARM M-profile: fix mrsipsr ISR_NUMBER mask (0x1f -> 0x1ff) Files changed: M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc [Commit 7/8] Hash: e02b069461b5795cad9df948c909965e8f9a15e3 Date: 2026-02-16 19:17:42 -0500 Message: Add OpenBSD support for x86_64 and arm_64. Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile [Commit 8/8] Hash: e50f27d6b683c7c781f78e296ec3d66f4f1637a6 Date: 2026-03-28 15:31:09 +0000 Message: #1244 Add CPU32 processor variant with full instruction set support Details: Add Motorola CPU32 processor variant to the 68000 processor module. CPU32 is based on the 68020 with some instructions removed and table lookup/interpolation instructions added. Used in MC68330, MC68340, MC68360 and similar microcontrollers. Changes: - 68000.sinc: @ifdef/@ifndef CPU32 conditionals - Added: TBL instructions, LPSTOP, BGND - Excluded: BFxxx, CALLM, CAS, CAS2, PACK, RTM, UNPK - CPU32.slaspec: new language specification - 68000.ldefs: CPU32 variant definition - certification.manifest: CPU32.slaspec entry - Emulator test classes and pcode_defs.py configuration All 79 CPU32 instructions verified against CPU32 Reference Manual (Rev 1, Dec 1990). Pcode emulator tests pass: 16/16 O0, 16/16 O3. Files changed: M Ghidra/Processors/68000/certification.manifest M Ghidra/Processors/68000/data/languages/68000.ldefs M Ghidra/Processors/68000/data/languages/68000.sinc A Ghidra/Processors/68000/data/languages/CPU32.slaspec ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Eric Kilmer <eric.kilmer@trailofbits.com> |
||
|
|
df4e0ff075 |
Default to Visual Studio 18 2026 in CMakePresets (#426)
CI updated and now installs this new version |
||
|
|
5fa7adbd2d |
Update Ghidra HEAD to commit 134f5394f (#423)
Bump Ghidra HEAD commit 134f5394f Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/bitfield.cc M Ghidra/Features/Decompiler/src/decompile/cpp/bitfield.hh M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc ``` Commit details: ``` [Commit 1/2] Hash: e1a1dc14e98dc8db0f30b0602fd4ce1301361f2e Date: 2026-05-27 22:20:55 +0000 Message: GP-6882 Check for free varnode in RuleDoubleSub Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc [Commit 2/2] Hash: 6e88715d8be92ebea52f297cf839127037d7f626 Date: 2026-05-19 22:17:50 +0000 Message: GP-6850 adjust handling of INDIRECT in BitFieldInsertTransform Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/bitfield.cc M Ghidra/Features/Decompiler/src/decompile/cpp/bitfield.hh ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
bfd38a983b | Ghidra 12.1.2 (#424) v12.1.2 | ||
|
|
c83e3ec4d8 |
Update Ghidra HEAD to commit 6e8d599d5 (#422)
Bump Ghidra HEAD commit 6e8d599d5 Changed files: ``` M Ghidra/Processors/RISCV/data/languages/riscv.csr.sinc M Ghidra/Processors/RISCV/data/languages/riscv.table.sinc ``` Commit details: ``` [Commit 1/1] Hash: 6a40c607cd38f77ee95bb2c8276eb750749279fd Date: 2026-05-27 09:35:06 -0400 Message: GP-6849: Fixed RISC-V writing to constant and a few register operands Files changed: M Ghidra/Processors/RISCV/data/languages/riscv.csr.sinc M Ghidra/Processors/RISCV/data/languages/riscv.table.sinc ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
eeee4453c8 |
Update Ghidra HEAD to commit 94164bd6e (#421)
* Bump Ghidra HEAD commit 94164bd6e Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc M Ghidra/Features/Decompiler/src/decompile/cpp/bfd_arch.cc M Ghidra/Features/Decompiler/src/decompile/cpp/block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/block.hh M Ghidra/Features/Decompiler/src/decompile/cpp/blockaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/blockaction.hh M Ghidra/Features/Decompiler/src/decompile/cpp/consolemain.cc M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.hh M Ghidra/Features/Decompiler/src/decompile/cpp/cpool.cc M Ghidra/Features/Decompiler/src/decompile/cpp/cpool.hh M Ghidra/Features/Decompiler/src/decompile/cpp/database.cc M Ghidra/Features/Decompiler/src/decompile/cpp/error.hh M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_op.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_arch.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_arch.hh M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ifaceterm.cc M Ghidra/Features/Decompiler/src/decompile/cpp/interface.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.cc M Ghidra/Features/Decompiler/src/decompile/cpp/loadimage.cc M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.hh M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc M Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.cc M Ghidra/Features/Decompiler/src/decompile/cpp/op.cc M Ghidra/Features/Decompiler/src/decompile/cpp/op.hh M Ghidra/Features/Decompiler/src/decompile/cpp/override.cc M Ghidra/Features/Decompiler/src/decompile/cpp/pcoderaw.cc M Ghidra/Features/Decompiler/src/decompile/cpp/raw_arch.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/semantics.cc M Ghidra/Features/Decompiler/src/decompile/cpp/semantics.hh M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.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.hh M Ghidra/Features/Decompiler/src/decompile/cpp/slghparse.y M Ghidra/Features/Decompiler/src/decompile/cpp/slghpatexpress.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghpattern.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghsymbol.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghsymbol.hh M Ghidra/Features/Decompiler/src/decompile/cpp/translate.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh M Ghidra/Features/Decompiler/src/decompile/cpp/userop.cc M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc M Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.hh A Ghidra/Features/Decompiler/src/decompile/unittests/testmultiprec.cc M Ghidra/Processors/8051/certification.manifest M Ghidra/Processors/8051/data/languages/8051.ldefs A Ghidra/Processors/8051/data/languages/cip-51.pspec M Ghidra/Processors/8051/data/languages/keil-cx51.cspec M Ghidra/Processors/AARCH64/certification.manifest M Ghidra/Processors/AARCH64/data/languages/AARCH64.ldefs M Ghidra/Processors/AARCH64/data/languages/AARCH64.opinion D Ghidra/Processors/AARCH64/data/languages/AARCH64_swift.cspec M Ghidra/Processors/AARCH64/data/languages/AppleSilicon.ldefs M Ghidra/Processors/MIPS/certification.manifest M Ghidra/Processors/MIPS/data/languages/mips.ldefs M Ghidra/Processors/MIPS/data/languages/mips.sinc A Ghidra/Processors/MIPS/data/languages/mips32_16e.pspec A Ghidra/Processors/MIPS/data/languages/mips64_16e.pspec M Ghidra/Processors/MIPS/data/languages/mips_dsp.sinc M Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430.cspec M Ghidra/Processors/x86/certification.manifest M Ghidra/Processors/x86/data/languages/avx.sinc M Ghidra/Processors/x86/data/languages/avx512.sinc M Ghidra/Processors/x86/data/languages/cet.sinc M Ghidra/Processors/x86/data/languages/fma.sinc M Ghidra/Processors/x86/data/languages/ia.sinc D Ghidra/Processors/x86/data/languages/x86-64-swift.cspec M Ghidra/Processors/x86/data/languages/x86.ldefs M Ghidra/Processors/x86/data/languages/x86.opinion ``` Commit details: ``` [Commit 1/14] Hash: 6fe164d65107354f22314fd0db8b894b8b1c2fdf Date: 2026-05-19 14:14:19 +0000 Message: GP-6847 fix musl issue with _exit function for Decompiler Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc [Commit 2/14] Hash: 47b4d28cb0fdffdceea659a1e8d465c74fdb9e98 Date: 2026-05-18 13:45:39 -0400 Message: GP-6697: Fixed MIPS signed immediates Files changed: M Ghidra/Processors/MIPS/data/languages/mips.sinc M Ghidra/Processors/MIPS/data/languages/mips_dsp.sinc [Commit 3/14] Hash: 3a479c9f7ebee2f8dd91e01b1dca9b04cae1b992 Date: 2026-05-17 19:48:41 -0400 Message: GP-6347: SourceLanguage modules and new extension points Files changed: M Ghidra/Processors/AARCH64/certification.manifest M Ghidra/Processors/AARCH64/data/languages/AARCH64.ldefs M Ghidra/Processors/AARCH64/data/languages/AARCH64.opinion D Ghidra/Processors/AARCH64/data/languages/AARCH64_swift.cspec M Ghidra/Processors/AARCH64/data/languages/AppleSilicon.ldefs M Ghidra/Processors/x86/certification.manifest D Ghidra/Processors/x86/data/languages/x86-64-swift.cspec M Ghidra/Processors/x86/data/languages/x86.ldefs M Ghidra/Processors/x86/data/languages/x86.opinion [Commit 4/14] Hash: 4661fc0bed1a46096a462a1d39f07674fb931c32 Date: 2026-05-04 21:48:44 +0000 Message: GP-6788 Keep track of immediate COPY propagation Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/block.hh M Ghidra/Features/Decompiler/src/decompile/cpp/blockaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/blockaction.hh M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_op.cc M Ghidra/Features/Decompiler/src/decompile/cpp/op.cc M Ghidra/Features/Decompiler/src/decompile/cpp/op.hh M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc M Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.hh [Commit 5/14] Hash: 4e6ba952eacbf27143edb324a343172de9bc1533 Date: 2026-04-24 20:54:00 +0000 Message: GP-6757 Additional memory fixes Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc M Ghidra/Features/Decompiler/src/decompile/cpp/cpool.cc M Ghidra/Features/Decompiler/src/decompile/cpp/cpool.hh M Ghidra/Features/Decompiler/src/decompile/cpp/database.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_arch.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_arch.hh M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc M Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.cc M Ghidra/Features/Decompiler/src/decompile/cpp/pcoderaw.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.hh M Ghidra/Features/Decompiler/src/decompile/cpp/slghparse.y M Ghidra/Features/Decompiler/src/decompile/cpp/slghpattern.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghsymbol.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghsymbol.hh M Ghidra/Features/Decompiler/src/decompile/cpp/translate.cc M Ghidra/Features/Decompiler/src/decompile/cpp/userop.cc A Ghidra/Features/Decompiler/src/decompile/unittests/testmultiprec.cc [Commit 6/14] Hash: 10029bf53d01b0d8af61c6e0c270cc0281650b31 Date: 2026-04-28 16:34:16 +0000 Message: GP-6675: Fixed up some instruction definitions Files changed: M Ghidra/Processors/x86/data/languages/ia.sinc M Ghidra/Processors/x86/data/languages/x86.ldefs [Commit 7/14] Hash: cfaee5f04f142e54f5d6d772a1c07019beaab0b0 Date: 2025-09-02 12:06:29 -0700 Message: Sleigh engine memory fixes Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.hh M Ghidra/Features/Decompiler/src/decompile/cpp/semantics.hh M Ghidra/Features/Decompiler/src/decompile/cpp/slghpatexpress.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghsymbol.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghsymbol.hh [Commit 8/14] Hash: dc38904b1627b83b2ed9064ec44ed8c11d956c1f Date: 2026-04-20 21:52:06 +0000 Message: GP-6757 unique_ptr protections Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc M Ghidra/Features/Decompiler/src/decompile/cpp/bfd_arch.cc M Ghidra/Features/Decompiler/src/decompile/cpp/block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/consolemain.cc M Ghidra/Features/Decompiler/src/decompile/cpp/database.cc M Ghidra/Features/Decompiler/src/decompile/cpp/error.hh M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ifaceterm.cc M Ghidra/Features/Decompiler/src/decompile/cpp/interface.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.cc M Ghidra/Features/Decompiler/src/decompile/cpp/loadimage.cc M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc M Ghidra/Features/Decompiler/src/decompile/cpp/override.cc M Ghidra/Features/Decompiler/src/decompile/cpp/raw_arch.cc M Ghidra/Features/Decompiler/src/decompile/cpp/semantics.cc M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghpatexpress.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghpattern.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghsymbol.cc M Ghidra/Features/Decompiler/src/decompile/cpp/translate.cc M Ghidra/Features/Decompiler/src/decompile/cpp/userop.cc [Commit 9/14] Hash: 67e0516f62f33bfa833bdc883bb8ea63d64c79e9 Date: 2026-05-07 17:16:49 +0000 Message: GP-6655: Create ldefs for 16e mode, so it appears in Dynamic Listing - Disassemble As Files changed: M Ghidra/Processors/MIPS/certification.manifest M Ghidra/Processors/MIPS/data/languages/mips.ldefs A Ghidra/Processors/MIPS/data/languages/mips32_16e.pspec A Ghidra/Processors/MIPS/data/languages/mips64_16e.pspec [Commit 10/14] Hash: 8a09a052583f60432b68bcadcdc5adfb5fbf16e5 Date: 2026-05-07 16:37:12 +0000 Message: GP-6798: Corrected CIP-51 language definition Files changed: M Ghidra/Processors/8051/certification.manifest M Ghidra/Processors/8051/data/languages/8051.ldefs A Ghidra/Processors/8051/data/languages/cip-51.pspec M Ghidra/Processors/8051/data/languages/keil-cx51.cspec [Commit 11/14] Hash: 4fac3553a866ade6c280cd33c9cfc58497a27be6 Date: 2026-05-05 15:37:34 -0400 Message: GP-6776 additional fixes Files changed: M Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430.cspec [Commit 12/14] Hash: 9e547d2b51a04dad3a4f102d416ceab1fb79e3f9 Date: 2026-04-28 22:47:16 +0000 Message: GP-5525 More targeted data-type warnings Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh [Commit 13/14] Hash: 329d7bae86061e106c64044dce3637fd6ba0646f Date: 2026-04-06 17:17:48 -0700 Message: address PR feedback Details: Fixes issues raised by @GhidorahRex. Adds new bug fx for MASKMOVQ. Files changed: M Ghidra/Processors/x86/data/languages/ia.sinc [Commit 14/14] Hash: b16f1556d26163d6fdc28bfe9dbac3c010b68ba9 Date: 2026-04-01 10:47:29 -0700 Message: fix various bugs in the x86 processor spec Details: Specifically: * ARPL uses CF instead of ZF for conditional RPL adjustment * DAA/DAS incorrect CF computation and missing result flags * SHR by-1 OF flag unconditionally set to 0 * RDTSCP incorrectly restricted to 64-bit mode only * SYSEXIT uses wrong register mapping * FCMOVNBE condition logic error * FYL2X/FYL2XP1 missing log2 computation * CVTPD2DQ uses trunc() instead of round() * SUBB MMX missing byte lane [8,8] * PSLLD/PSLLQ XMM use per-element shift count * PCMPxSTRx missing implicit EAX/EDX inputs and EFLAGS outputs * CET WRSSQ/WRUSSQ duplicate 0x0F byte in encoding * FMA VEX_W0 missing on PS YMM 231-form constructors * VTESTPS YMM sign bit offset errors * AVX-512 VANDPS YMM dead variable * AVX-512 VMOVHLPS copies src2 to both halves * AVX-512 VMOVHPD load form dead variable * VPSUBSW ZMM form multiple errors * CVTPD2PI uses trunc() instead of round() * PSRAD XMM uses full 128-bit shift count * VMULPS YMM missing 8th element * FPREM/FPREM1 broken remainder computation * FDECSTP clears wrong condition code bit * VMCLEAR incorrectly restricted to 64-bit mode * SYSCALL does not model RCX and R11 clobber * VRANGESS missing imm8 operand * VFPCLASSSD/VFPCLASSSS missing imm8 operand * AVX-512 VUCOMISD/VUCOMISS missing EFLAGS computation * MASKMOVDQU incorrectly assigns to XmmReg1 * DAS has same CF computation and missing flags issues as DAA * XGETBV/XSETBV ignore ECX selector Files changed: M Ghidra/Processors/x86/data/languages/avx.sinc M Ghidra/Processors/x86/data/languages/avx512.sinc M Ghidra/Processors/x86/data/languages/cet.sinc M Ghidra/Processors/x86/data/languages/fma.sinc M Ghidra/Processors/x86/data/languages/ia.sinc ``` * Add new unittest file --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Eric Kilmer <eric.kilmer@trailofbits.com> |
||
|
|
d6d9b4c483 | Add skill support for other coding agents and add new release skill v12.1 | ||
|
|
7b4f1bce5e |
Update stable Ghidra to 12.1 (#420)
Regenerate stable patches against Ghidra_12.1_build and update the stable source and spec lists for new 12.1 files. |
||
|
|
fa806a45c7 |
Update Ghidra HEAD to commit 3d92a003f (#419)
Bump Ghidra HEAD commit 3d92a003f Changed files: ``` M Ghidra/Processors/MIPS/data/languages/mips16.sinc ``` Commit details: ``` [Commit 1/1] Hash: d29a605572866c2e564a537295e836c310af17f2 Date: 2026-04-29 20:15:19 +0000 Message: GP-6766: Corrected operand ordering for MIPS16e movz and movn Files changed: M Ghidra/Processors/MIPS/data/languages/mips16.sinc ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
c1aec71e40 |
Update Ghidra HEAD to commit b3eef5912 (#418)
Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/condexe.cc M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.hh M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.hh M Ghidra/Features/Decompiler/src/decompile/cpp/database.cc M Ghidra/Features/Decompiler/src/decompile/cpp/database.hh M Ghidra/Features/Decompiler/src/decompile/cpp/float.cc M Ghidra/Features/Decompiler/src/decompile/cpp/float.hh M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/flow.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.hh M Ghidra/Features/Decompiler/src/decompile/cpp/merge.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.hh M Ghidra/Features/Decompiler/src/decompile/cpp/translate.cc M Ghidra/Features/Decompiler/src/decompile/cpp/translate.hh M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh M Ghidra/Features/Decompiler/src/decompile/cpp/unionresolve.cc M Ghidra/Features/Decompiler/src/decompile/cpp/unionresolve.hh M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc M Ghidra/Processors/8051/certification.manifest M Ghidra/Processors/8051/data/languages/8051_main.sinc A Ghidra/Processors/8051/data/languages/cip-51.slaspec A Ghidra/Processors/8051/data/languages/keil-cx51.cspec M Ghidra/Processors/ARM/data/languages/ARM.sinc M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc M Ghidra/Processors/ARM/data/languages/ARMneon.sinc M Ghidra/Processors/PIC/data/languages/pic18_instructions.sinc M Ghidra/Processors/PowerPC/data/languages/ppc_common.sinc M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc ``` Commit details: ``` [Commit 1/15] Hash: 9e18f9439e54f13d31c9fb2b7de373415849150b Date: 2026-04-29 12:40:29 +0000 Message: GP-0: Fixed missing define statement Files changed: M Ghidra/Processors/8051/data/languages/8051_main.sinc [Commit 2/15] Hash: e12d821d861ec31266367d37ee7ed0aabaaf02ec Date: 2026-02-26 19:53:42 +0000 Message: GP-6492 Adjustments to union scoring Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.hh M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.hh M Ghidra/Features/Decompiler/src/decompile/cpp/database.cc M Ghidra/Features/Decompiler/src/decompile/cpp/database.hh M Ghidra/Features/Decompiler/src/decompile/cpp/float.cc M Ghidra/Features/Decompiler/src/decompile/cpp/float.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/merge.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.hh M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh M Ghidra/Features/Decompiler/src/decompile/cpp/unionresolve.cc M Ghidra/Features/Decompiler/src/decompile/cpp/unionresolve.hh M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc [Commit 3/15] Hash: d2279118771dd1b503a5efaaaffe772405136290 Date: 2026-04-27 14:04:48 -0400 Message: GP-6333: Fix for ARM Thumb to prevent misaligned branches Files changed: M Ghidra/Processors/ARM/data/languages/ARM.sinc M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc [Commit 4/15] Hash: 741b69d9090262eb0031d92c79cd19bd6b618b93 Date: 2026-03-05 18:55:32 +0000 Message: GP-6538 Don't assume slot == 1 in for RETURN Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/condexe.cc [Commit 5/15] Hash: 4bec0d1809f80c2231d51def60ee334bdec91dba Date: 2026-04-24 15:49:42 +0000 Message: GP-6610 Add count of jumptable recover stages Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/flow.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.hh [Commit 6/15] Hash: 2b4efbfd681a79a4cd1cd8a962c78beba9b9e2ea Date: 2026-04-22 18:12:49 +0000 Message: GP-6750: Fixed disassembly error for ARM neon simdExpImm_16 Files changed: M Ghidra/Processors/ARM/data/languages/ARMneon.sinc [Commit 7/15] Hash: def6a8d4f962028826446503dd37d333c284cba8 Date: 2026-03-23 16:01:25 +0000 Message: GP-6000: Updated certification for Processor 8051 Files changed: M Ghidra/Processors/8051/certification.manifest [Commit 8/15] Hash: 3f5b0be75d7ef8e1956e371f47f0e623dd6e56a0 Date: 2026-01-06 17:39:36 -0500 Message: Add 8051 CIP-51 (Silicon Labs) processor support and Keil C51 compiler specification Details: - Add CIP51 variant support to 8051_main.sinc with extended SFR addressing (2-byte) - Add IFLASH and XRAM address spaces for CIP-51 memory model - Add cip-51.slaspec for CIP-51 processor definition - Add keil-cx51.cspec for Keil C51 compiler calling conventions Files changed: M Ghidra/Processors/8051/data/languages/8051_main.sinc A Ghidra/Processors/8051/data/languages/cip-51.slaspec A Ghidra/Processors/8051/data/languages/keil-cx51.cspec [Commit 9/15] Hash: aeba87cceeecbb09257a20da606f92f3b5dbd844 Date: 2026-03-19 16:07:09 +0000 Message: GP-6591: PIC-18 destReg banked register disassembly fix Files changed: M Ghidra/Processors/PIC/data/languages/pic18_instructions.sinc [Commit 10/15] Hash: ac09f8638339d431f339c5a024b779c15e463a94 Date: 2026-03-04 12:05:06 +0000 Message: GP-5508: Remove unused token pieces Files changed: M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc [Commit 11/15] Hash: ab08578711be63ccac23a2824caa3b9987544322 Date: 2024-11-24 14:55:06 +0100 Message: Fix PPC STQ negative offsets Files changed: M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc [Commit 12/15] Hash: 65a848c4d1956c64a0910b4a85bfcd16c8c9b3ed Date: 2024-11-24 14:44:21 +0100 Message: Reusing dqPlusRaOrZeroAddress for EA calculation Files changed: M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc [Commit 13/15] Hash: 86c31bb5d8e0552ab19948515ba0acdd230fbbbe Date: 2024-11-24 14:27:16 +0100 Message: Removed PPCAS-specific decoding Files changed: M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc [Commit 14/15] Hash: 2037480b4e2da8812b7734f0c9111f38b6c9b8a8 Date: 2024-08-19 10:22:07 +0100 Message: Fix LQ instruction to support signed offsets Details: Based on the Power ISA manual sign extended DQ<<4 is added to RA to get source EA. Files changed: M Ghidra/Processors/PowerPC/data/languages/ppc_common.sinc M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc [Commit 15/15] Hash: a1e0d3cd81a75e3648381cd7c1d816dabf4e5c57 Date: 2025-09-08 17:58:32 +0000 Message: GP-3330 Add support stack storage in joined varnodes Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/translate.cc M Ghidra/Features/Decompiler/src/decompile/cpp/translate.hh ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
d860b53fa9 |
Set core.longpaths while patching (#417)
The Ghidra source code has very long paths and without this setting you get error messages and the patching fails if you do not clone it very high up the tree. |
||
|
|
532aa25e8a |
Update Ghidra HEAD to commit aa094ab25 (#416)
Bump Ghidra HEAD commit aa094ab25 Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc ``` Commit details: ``` [Commit 1/1] Hash: d4cdef264eb7d87a645ceedcb0b1e22a1078999c Date: 2026-04-22 17:56:33 +0000 Message: GP-6734 Keep HighEdge map symmetric Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
121c65a08b |
Update Ghidra HEAD to commit b211a07b5 and patch (#415)
* Bump Ghidra HEAD commit b211a07b5 Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.l ``` Commit details: ``` [Commit 1/1] Hash: 827ebe6a0529b6ed8c52b7186be43b55c57da48b Date: 2026-03-20 21:34:41 +0000 Message: GP-6608 Use std::stoul to unify to do all integer parsing Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.l ``` * Patch Ghidra HEAD scan_number to use std::stoull for MSVC Upstream GP-6608 (Ghidra 827ebe6a0) replaced the hand-rolled integer parser in slghscan.l with std::stoul. std::stoul returns unsigned long, which is 64 bits on LP64 (Linux/macOS) but 32 bits on MSVC (LLP64), so any .slaspec integer literal wider than 0xFFFFFFFF throws out_of_range and sleigh rejects the spec. This broke the Windows HEAD CI job on the b211a07b5 bump (68000/PowerPC/Loongarch/coldfire/avr32a specs all have 64-bit immediates). Swap to std::stoull, which returns unsigned long long (64 bits on all platforms) and matches the uintb target in scan_number. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Eric Kilmer <eric.kilmer@trailofbits.com> |
||
|
|
8852ca2b09 |
build(deps): bump actions/upload-pages-artifact from 4 to 5 (#414)
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
8400ecc4ef |
build(deps): bump softprops/action-gh-release from 2.6.1 to 3.0.0 (#413)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
0bf9bc4334 |
Update Ghidra HEAD to commit 43f4fcf95 (#412)
Bump Ghidra HEAD commit 43f4fcf95 Changed files: ``` M Ghidra/Processors/68000/data/languages/68000.pspec M Ghidra/Processors/ARM/data/languages/ARM.cspec M Ghidra/Processors/ARM/data/languages/ARM.sinc M Ghidra/Processors/ARM/data/languages/ARM8m_be.slaspec M Ghidra/Processors/ARM/data/languages/ARM8m_le.slaspec M Ghidra/Processors/ARM/data/languages/ARMCortex.pspec M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc M Ghidra/Processors/ARM/data/languages/ARM_apcs.cspec M Ghidra/Processors/ARM/data/languages/ARM_v45.cspec M Ghidra/Processors/ARM/data/languages/ARM_v45.pspec M Ghidra/Processors/ARM/data/languages/ARM_win.cspec M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc M Ghidra/Processors/ARM/data/languages/ARMneon.sinc M Ghidra/Processors/ARM/data/languages/ARMt.pspec M Ghidra/Processors/ARM/data/languages/ARMtTHUMB.pspec M Ghidra/Processors/ARM/data/languages/ARMt_v45.pspec M Ghidra/Processors/ARM/data/languages/ARMt_v6.pspec M Ghidra/Processors/ARM/data/languages/ARMv8.sinc A Ghidra/Processors/Hexagon/Module.manifest A Ghidra/Processors/Hexagon/certification.manifest A Ghidra/Processors/Hexagon/data/languages/Hexagon.opinion A Ghidra/Processors/Hexagon/data/languages/hexagon.cspec A Ghidra/Processors/Hexagon/data/languages/hexagon.dwarf A Ghidra/Processors/Hexagon/data/languages/hexagon.ldefs A Ghidra/Processors/Hexagon/data/languages/hexagon.pspec A Ghidra/Processors/Hexagon/data/languages/hexagon.sinc A Ghidra/Processors/Hexagon/data/languages/hexagon.slaspec A Ghidra/Processors/Hexagon/data/languages/hexagon_float.sinc A Ghidra/Processors/Hexagon/data/languages/hexagon_hvx.sinc A Ghidra/Processors/Hexagon/data/languages/hexagon_left.sinc A Ghidra/Processors/Hexagon/data/languages/hexagon_right.sinc M Ghidra/Processors/MIPS/data/languages/mips.sinc M Ghidra/Processors/MIPS/data/languages/mips16.sinc M Ghidra/Processors/MIPS/data/languages/mips32.pspec M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc M Ghidra/Processors/MIPS/data/languages/mips32R6.pspec M Ghidra/Processors/MIPS/data/languages/mips32_eabi.cspec M Ghidra/Processors/MIPS/data/languages/mips32_fp64.cspec M Ghidra/Processors/MIPS/data/languages/mips32be.cspec M Ghidra/Processors/MIPS/data/languages/mips32le.cspec M Ghidra/Processors/MIPS/data/languages/mips32micro.pspec M Ghidra/Processors/MIPS/data/languages/mips64.pspec M Ghidra/Processors/MIPS/data/languages/mips64R6.pspec M Ghidra/Processors/MIPS/data/languages/mips64_32_n32.cspec M Ghidra/Processors/MIPS/data/languages/mips64_32_o32.cspec M Ghidra/Processors/MIPS/data/languages/mips64_32_o64.cspec M Ghidra/Processors/MIPS/data/languages/mips64be.cspec M Ghidra/Processors/MIPS/data/languages/mips64le.cspec M Ghidra/Processors/MIPS/data/languages/mips64micro.pspec M Ghidra/Processors/MIPS/data/languages/mipsmicro.sinc M Ghidra/Processors/PowerPC/data/languages/ppc_32.pspec M Ghidra/Processors/PowerPC/data/languages/ppc_32_mpc8270.pspec M Ghidra/Processors/PowerPC/data/languages/ppc_64.pspec M Ghidra/Processors/Xtensa/data/languages/xtensa.pspec M Ghidra/Processors/tricore/data/languages/tc172x.pspec M Ghidra/Processors/tricore/data/languages/tc176x.pspec M Ghidra/Processors/tricore/data/languages/tc29x.pspec M Ghidra/Processors/tricore/data/languages/tricore.pspec M Ghidra/Processors/x86/data/languages/x86-16-real.pspec M Ghidra/Processors/x86/data/languages/x86-16.pspec M Ghidra/Processors/x86/data/languages/x86-64-compat32.pspec M Ghidra/Processors/x86/data/languages/x86-64.pspec M Ghidra/Processors/x86/data/languages/x86.pspec ``` Commit details: ``` [Commit 1/7] Hash: 84fb9e72f8065c6d27804209199631e5931cf743 Date: 2026-03-24 17:51:27 +0000 Message: GP-0: Fixed ARM disassembly test regressions Files changed: M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc [Commit 2/7] Hash: 51471ef7737643fad7fe7eecd7a6e83236b245d0 Date: 2026-03-24 13:20:29 +0000 Message: GP-0: Corrected separator regression in PseudoDisassemblerTest Files changed: M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc [Commit 3/7] Hash: 5636392395b9975c3dde72eb3246ba28a55cbcc0 Date: 2026-03-23 15:30:23 -0400 Message: GP-6621 Add Hexagon processor Files changed: A Ghidra/Processors/Hexagon/Module.manifest A Ghidra/Processors/Hexagon/certification.manifest A Ghidra/Processors/Hexagon/data/languages/Hexagon.opinion A Ghidra/Processors/Hexagon/data/languages/hexagon.cspec A Ghidra/Processors/Hexagon/data/languages/hexagon.dwarf A Ghidra/Processors/Hexagon/data/languages/hexagon.ldefs A Ghidra/Processors/Hexagon/data/languages/hexagon.pspec A Ghidra/Processors/Hexagon/data/languages/hexagon.sinc A Ghidra/Processors/Hexagon/data/languages/hexagon.slaspec A Ghidra/Processors/Hexagon/data/languages/hexagon_float.sinc A Ghidra/Processors/Hexagon/data/languages/hexagon_hvx.sinc A Ghidra/Processors/Hexagon/data/languages/hexagon_left.sinc A Ghidra/Processors/Hexagon/data/languages/hexagon_right.sinc [Commit 4/7] Hash: e0638c831f6ac271d663893c9d26f9f823fc6c2f Date: 2026-03-20 17:44:03 +0000 Message: GP-0: Corrected ARMAssemblyTest failures Files changed: M Ghidra/Processors/ARM/data/languages/ARMneon.sinc [Commit 5/7] Hash: 5fbbc155a8b08c2711a8b0ef6d59a3c5ef3cf3c9 Date: 2026-03-19 09:23:37 -0400 Message: GP-5849: Fixed ARM Neon instuction collisions with vmov (immediate) Files changed: M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc M Ghidra/Processors/ARM/data/languages/ARMneon.sinc [Commit 6/7] Hash: 44504c77804cc8aed03f6a21ada6100379cb812a Date: 2026-03-18 09:59:22 -0400 Message: GP-6145: added missing ARM v8-m instructions Files changed: M Ghidra/Processors/ARM/data/languages/ARM.sinc M Ghidra/Processors/ARM/data/languages/ARM8m_be.slaspec M Ghidra/Processors/ARM/data/languages/ARM8m_le.slaspec M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc M Ghidra/Processors/ARM/data/languages/ARMneon.sinc M Ghidra/Processors/ARM/data/languages/ARMv8.sinc [Commit 7/7] Hash: fa23479747d6ae439c1bdfce16f248fa99beadaf Date: 2026-03-18 12:09:45 +0000 Message: GP-4241: Port EmulateInstructionStateModifiers to PcodeUseropLibraryFactories. Files changed: M Ghidra/Processors/68000/data/languages/68000.pspec M Ghidra/Processors/ARM/data/languages/ARM.cspec M Ghidra/Processors/ARM/data/languages/ARM.sinc M Ghidra/Processors/ARM/data/languages/ARMCortex.pspec M Ghidra/Processors/ARM/data/languages/ARM_apcs.cspec M Ghidra/Processors/ARM/data/languages/ARM_v45.cspec M Ghidra/Processors/ARM/data/languages/ARM_v45.pspec M Ghidra/Processors/ARM/data/languages/ARM_win.cspec M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc M Ghidra/Processors/ARM/data/languages/ARMt.pspec M Ghidra/Processors/ARM/data/languages/ARMtTHUMB.pspec M Ghidra/Processors/ARM/data/languages/ARMt_v45.pspec M Ghidra/Processors/ARM/data/languages/ARMt_v6.pspec M Ghidra/Processors/MIPS/data/languages/mips.sinc M Ghidra/Processors/MIPS/data/languages/mips16.sinc M Ghidra/Processors/MIPS/data/languages/mips32.pspec M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc M Ghidra/Processors/MIPS/data/languages/mips32R6.pspec M Ghidra/Processors/MIPS/data/languages/mips32_eabi.cspec M Ghidra/Processors/MIPS/data/languages/mips32_fp64.cspec M Ghidra/Processors/MIPS/data/languages/mips32be.cspec M Ghidra/Processors/MIPS/data/languages/mips32le.cspec M Ghidra/Processors/MIPS/data/languages/mips32micro.pspec M Ghidra/Processors/MIPS/data/languages/mips64.pspec M Ghidra/Processors/MIPS/data/languages/mips64R6.pspec M Ghidra/Processors/MIPS/data/languages/mips64_32_n32.cspec M Ghidra/Processors/MIPS/data/languages/mips64_32_o32.cspec M Ghidra/Processors/MIPS/data/languages/mips64_32_o64.cspec M Ghidra/Processors/MIPS/data/languages/mips64be.cspec M Ghidra/Processors/MIPS/data/languages/mips64le.cspec M Ghidra/Processors/MIPS/data/languages/mips64micro.pspec M Ghidra/Processors/MIPS/data/languages/mipsmicro.sinc M Ghidra/Processors/PowerPC/data/languages/ppc_32.pspec M Ghidra/Processors/PowerPC/data/languages/ppc_32_mpc8270.pspec M Ghidra/Processors/PowerPC/data/languages/ppc_64.pspec M Ghidra/Processors/Xtensa/data/languages/xtensa.pspec M Ghidra/Processors/tricore/data/languages/tc172x.pspec M Ghidra/Processors/tricore/data/languages/tc176x.pspec M Ghidra/Processors/tricore/data/languages/tc29x.pspec M Ghidra/Processors/tricore/data/languages/tricore.pspec M Ghidra/Processors/x86/data/languages/x86-16-real.pspec M Ghidra/Processors/x86/data/languages/x86-16.pspec M Ghidra/Processors/x86/data/languages/x86-64-compat32.pspec M Ghidra/Processors/x86/data/languages/x86-64.pspec M Ghidra/Processors/x86/data/languages/x86.pspec ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
b9c7dcda40 |
build(deps): bump actions/deploy-pages from 4 to 5 (#411)
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4 to 5. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
3c525cd665 |
CI: Create draft release by default (#410)
* CI: Create draft release by default Handles immutable releases when uploading from multiple builds * CI: Add publish-release job to undraft release after builds After all build matrix jobs upload artifacts as draft releases, this job runs to publish the release by removing the draft flag. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|
|
68e14b713c |
Update Ghidra HEAD to commit 2ef20c4f4 (#409)
Bump Ghidra HEAD commit 2ef20c4f4 Changed files: ``` M Ghidra/Processors/MIPS/data/languages/mips.sinc M Ghidra/Processors/MIPS/data/languages/mips16.sinc M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc ``` Commit details: ``` [Commit 1/1] Hash: 6b73572604f58ce3c050b3e7651e1d7fb887ee5c Date: 2026-03-10 19:07:32 +0000 Message: Fixed regression with MIPS disassembly Files changed: M Ghidra/Processors/MIPS/data/languages/mips.sinc M Ghidra/Processors/MIPS/data/languages/mips16.sinc M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
099ccea772 |
build(deps): bump nick-fields/retry from 3 to 4 (#408)
Bumps [nick-fields/retry](https://github.com/nick-fields/retry) from 3 to 4. - [Release notes](https://github.com/nick-fields/retry/releases) - [Commits](https://github.com/nick-fields/retry/compare/v3...v4) --- updated-dependencies: - dependency-name: nick-fields/retry dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
7887f25eee |
build(deps): bump softprops/action-gh-release from 2.5.0 to 2.6.1 (#406)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.5.0 to 2.6.1. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2.5.0...v2.6.1) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: 2.6.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
7d93971e5d |
build(deps): bump actions/create-github-app-token from 2 to 3 (#407)
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2 to 3. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
ddb507d83e |
Update Ghidra HEAD to commit a2d77cbbb (#405)
Bump Ghidra HEAD commit a2d77cbbb Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/Doxyfile M Ghidra/Features/Decompiler/src/decompile/cpp/context.cc M Ghidra/Features/Decompiler/src/decompile/cpp/context.hh M Ghidra/Features/Decompiler/src/decompile/cpp/error.hh M Ghidra/Features/Decompiler/src/decompile/cpp/inject_sleigh.cc M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.cc M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.hh M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.hh M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc ``` Commit details: ``` [Commit 1/3] Hash: e5ee5ed77359266c5c84d54ce8ed4ae20d69b2a8 Date: 2026-03-09 21:34:46 +0000 Message: GP-6545 Switch to using deque for PcodeCacher::issued Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/error.hh M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.cc M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.hh [Commit 2/3] Hash: 5328fa2c6dbfbba7cc95f232f3a9635d9bd8abcb Date: 2026-03-06 23:37:48 +0000 Message: GP-6554 Refactor ConstructState allocation in ParserContext Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/Doxyfile M Ghidra/Features/Decompiler/src/decompile/cpp/context.cc M Ghidra/Features/Decompiler/src/decompile/cpp/context.hh M Ghidra/Features/Decompiler/src/decompile/cpp/inject_sleigh.cc M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.cc M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.hh M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.hh [Commit 3/3] Hash: be9b45ce9e3e7e7b3123a5be18b25a521d745152 Date: 2026-03-08 19:28:21 +0000 Message: PowerPC: s/DataCaseBlockSetToZero/DataCacheBlockSetToZero/ Details: This is pretty obvious typo, the actual name of the operation is "data cache block set to zero". Signed-off-by: Mate Kukri <km@mkukri.xyz> Files changed: M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
1360014bf3 |
Update Ghidra HEAD to commit 8e0fc9bc6 (#404)
Bump Ghidra HEAD commit 8e0fc9bc6 Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh M Ghidra/Processors/AARCH64/certification.manifest M Ghidra/Processors/MIPS/data/languages/mips.sinc M Ghidra/Processors/MIPS/data/languages/mips16.sinc M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc M Ghidra/Processors/MIPS/data/languages/mipsmicro.sinc M Ghidra/Processors/Xtensa/data/languages/flix.sinc M Ghidra/Processors/Xtensa/data/languages/xtensaArch.sinc M Ghidra/Processors/Xtensa/data/languages/xtensaInstructions.sinc M Ghidra/Processors/Xtensa/data/languages/xtensaMain.sinc M Ghidra/Processors/Xtensa/data/languages/xtensa_depbits.sinc ``` Commit details: ``` [Commit 1/6] Hash: b90adfdfdd9893802408b943b4266e4990cd63e3 Date: 2026-03-06 04:53:12 -0500 Message: GP-6327: Improving Objective-C msgSend() support Files changed: M Ghidra/Processors/AARCH64/certification.manifest [Commit 2/6] Hash: cbc000b2a017f1f5cf96cf095f9cf0c026082b4c Date: 2026-02-27 23:01:19 +0000 Message: GP-6501: Fixed up mfc0/mtc0 semantics. Added MIPS32 save/restore instructions Files changed: M Ghidra/Processors/MIPS/data/languages/mips.sinc M Ghidra/Processors/MIPS/data/languages/mips16.sinc M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc M Ghidra/Processors/MIPS/data/languages/mipsmicro.sinc [Commit 3/6] Hash: 5f35986024907e891c5e86f566506c81964a1b92 Date: 2026-02-25 19:25:16 +0000 Message: GP-6495 Assign pointer submeta based on needsResolution Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc [Commit 4/6] Hash: 2ad8259a29884ded954f23a1a4d92c8124dd1654 Date: 2026-02-25 13:24:42 +0000 Message: GP-6489: Fixed opcode for MIPS sdbbp16 instruction Files changed: M Ghidra/Processors/MIPS/data/languages/mipsmicro.sinc [Commit 5/6] Hash: c81657d2ae45c8c4978114f3d2e6bcd361ce54ef Date: 2026-02-20 22:55:14 +0000 Message: GP-6486 Correct distance calculation in nearestArrayedComponent methods Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh [Commit 6/6] Hash: 10f2cd12db3f857280e3b01e4a5c65ace3a4d6a0 Date: 2025-10-24 19:58:31 +0000 Message: GP-6050: Renamed most Xtensa token fields to satisfy BE numbering Files changed: M Ghidra/Processors/Xtensa/data/languages/flix.sinc M Ghidra/Processors/Xtensa/data/languages/xtensaArch.sinc M Ghidra/Processors/Xtensa/data/languages/xtensaInstructions.sinc M Ghidra/Processors/Xtensa/data/languages/xtensaMain.sinc M Ghidra/Processors/Xtensa/data/languages/xtensa_depbits.sinc ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
4db93c4191 | Ghidra 12.0.4 (#403) v12.0.4 | ||
|
|
c0160c4205 |
ci: Don't archive when using upload-artifact GHA (#402)
Prevents rpm and deb packages from being zipped |
||
|
|
1d1d978f0d |
build(deps): bump actions/upload-artifact from 6 to 7 (#400)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
7afb02ef95 |
Update Ghidra HEAD to commit fc73f70b9 (#401)
Bump Ghidra HEAD commit fc73f70b9 Changed files: ``` M Ghidra/Processors/AARCH64/data/languages/AARCH64base.sinc M Ghidra/Processors/AARCH64/data/languages/AARCH64instructions.sinc ``` Commit details: ``` [Commit 1/3] Hash: ea52a687b2ee0070c868dfc0234001479fce2988 Date: 2026-02-24 10:49:41 -0500 Message: GP-6448: Added AARCH64 CSSC instructions Files changed: M Ghidra/Processors/AARCH64/data/languages/AARCH64base.sinc M Ghidra/Processors/AARCH64/data/languages/AARCH64instructions.sinc [Commit 2/3] Hash: 3fbe33860b6a66815f888415e05539084f596fbd Date: 2024-04-30 13:33:09 +0930 Message: AA64: fix ldar load size for 32bit variant Files changed: M Ghidra/Processors/AARCH64/data/languages/AARCH64base.sinc [Commit 3/3] Hash: bbe8d7ca93ab42dad6aa0afa1e0fa1b6ab62c608 Date: 2024-04-30 14:30:35 +0930 Message: AA64: fix ldpsw increment size to match load Files changed: M Ghidra/Processors/AARCH64/data/languages/AARCH64base.sinc ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
6ecd80ee22 |
Merge branch 'ekilmer/run-asan-v2': Add ASAN/UBSAN and libc++ assertions CI
Add sanitizer and assertions CI jobs, fix UBSAN signed left shift errors, and port the compareFinalOrder strict-weak ordering patch to stable. Drop redundant Linux/macOS Debug builds in favor of these more targeted checks. * ekilmer/run-asan-v2: Add compareFinalOrder strict-weak ordering patch to stable Drop Debug builds on Linux and macOS in favor of sanitizer/assertions Install LLVM explicitly in sanitizer and assertions CI jobs Add libc++ assertions CI job for strict-weak ordering checks Add ASAN/UBSAN CI testing and fix signed left shift UB |
||
|
|
0c1eeeae77 |
Add compareFinalOrder strict-weak ordering patch to stable
Port the existing HEAD patch (0007) to stable as well. FlowBlock::compareFinalOrder returns true when both blocks have index 0, violating strict weak ordering irreflexivity. This is caught by the libc++ assertions CI job. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|
|
f696911f67 |
Drop Debug builds on Linux and macOS in favor of sanitizer/assertions
The sanitizer and assertions CI jobs provide more useful Debug-like coverage on Linux than a plain Debug build. Keep Debug builds only for Windows where sanitizers are not available. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|
|
27289bcc29 |
Install LLVM explicitly in sanitizer and assertions CI jobs
Use the official LLVM apt script to install clang rather than relying on whichever version happens to ship on the runner. The version is configured via a workflow-level LLVM_VERSION env variable (currently 21) so bumping is a one-line change. The assertions job also installs the matching versioned libc++-dev and libc++abi-dev packages. Remove CMAKE_CXX_COMPILER from the ci-assertions preset so the CXX environment variable is respected by CMake in both CI and local use. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|
|
876fc733fb |
Add libc++ assertions CI job for strict-weak ordering checks
Add a ci-assertions CMake preset that builds with libc++ in debug hardening mode (_LIBCPP_HARDENING_MODE_DEBUG), which catches STL contract violations at runtime — most importantly strict-weak ordering violations in comparators passed to std::sort. Add a corresponding assertions CI job that runs HEAD-only, since new comparator bugs from upstream Ghidra surface there first. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|
|
b6adc0337a |
Add ASAN/UBSAN CI testing and fix signed left shift UB
Add a sanitizer CI job that builds and tests with AddressSanitizer and UndefinedBehaviorSanitizer using clang on Ubuntu for both stable and HEAD release tracks. Fix three UBSAN signed left shift errors found during sanitizer testing by casting signed values to unsigned before left shifting: - address.hh sign_extend(): left shift of negative value / overflow - slghpatexpress.cc LeftShiftExpression: left shift of negative value Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|
|
4578ac2fba |
Add claude skill to help debug test failures
This will likely improve over time as more tests fail or different methods for exposing bugs are used (like sanitizers) |
||
|
|
1b2041b6aa | Add CLAUDE.md | ||
|
|
eb980ff91d |
Add devcontainer for debugging with latest build tools
Provides a sandboxed Ubuntu 24.04 environment with LLVM 21 (clang, clangd, lld, lldb, libc++), cmake, ninja, and ccache for building and debugging the decompiler with up-to-date tooling. While there are only minimal VSCode extensions installed by default, I automatically install Claude Code and my own dotfiles plus additional tools |
||
|
|
fbefd7d828 |
Update Ghidra HEAD to commit e3c1b6393 (#397)
* Bump Ghidra HEAD commit e3c1b6393 Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile M Ghidra/Features/Decompiler/src/decompile/cpp/address.cc M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh A Ghidra/Features/Decompiler/src/decompile/cpp/bitfield.cc A Ghidra/Features/Decompiler/src/decompile/cpp/bitfield.hh M Ghidra/Features/Decompiler/src/decompile/cpp/block.hh M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc M Ghidra/Features/Decompiler/src/decompile/cpp/expression.cc M Ghidra/Features/Decompiler/src/decompile/cpp/expression.hh M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.cc M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.hh M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.y M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.hh M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc M Ghidra/Features/Decompiler/src/decompile/cpp/op.cc M Ghidra/Features/Decompiler/src/decompile/cpp/opbehavior.cc M Ghidra/Features/Decompiler/src/decompile/cpp/opcodes.hh M Ghidra/Features/Decompiler/src/decompile/cpp/prettyprint.cc M Ghidra/Features/Decompiler/src/decompile/cpp/prettyprint.hh M Ghidra/Features/Decompiler/src/decompile/cpp/printc.cc M Ghidra/Features/Decompiler/src/decompile/cpp/printc.hh M Ghidra/Features/Decompiler/src/decompile/cpp/printjava.cc M Ghidra/Features/Decompiler/src/decompile/cpp/printlanguage.cc M Ghidra/Features/Decompiler/src/decompile/cpp/printlanguage.hh M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.cc M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh ``` Commit details: ``` [Commit 1/2] Hash: bf1f4288aa3b317e3c097773ba4b8e7b89ae09c7 Date: 2026-02-10 19:33:46 +0000 Message: GP-5922 Integer formatting for switch cases Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/block.hh M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.cc M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.hh M Ghidra/Features/Decompiler/src/decompile/cpp/printc.cc M Ghidra/Features/Decompiler/src/decompile/cpp/printc.hh M Ghidra/Features/Decompiler/src/decompile/cpp/printjava.cc M Ghidra/Features/Decompiler/src/decompile/cpp/printlanguage.cc M Ghidra/Features/Decompiler/src/decompile/cpp/printlanguage.hh [Commit 2/2] Hash: 402d10d6cc66e1fcf3d8f36bc851ef652773e018 Date: 2025-09-05 00:01:44 +0000 Message: GP-2493 Bitfield support in the Decompiler Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile M Ghidra/Features/Decompiler/src/decompile/cpp/address.cc M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh A Ghidra/Features/Decompiler/src/decompile/cpp/bitfield.cc A Ghidra/Features/Decompiler/src/decompile/cpp/bitfield.hh M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc M Ghidra/Features/Decompiler/src/decompile/cpp/expression.cc M Ghidra/Features/Decompiler/src/decompile/cpp/expression.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.cc M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.hh M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.y M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc M Ghidra/Features/Decompiler/src/decompile/cpp/op.cc M Ghidra/Features/Decompiler/src/decompile/cpp/opbehavior.cc M Ghidra/Features/Decompiler/src/decompile/cpp/opcodes.hh M Ghidra/Features/Decompiler/src/decompile/cpp/prettyprint.cc M Ghidra/Features/Decompiler/src/decompile/cpp/prettyprint.hh M Ghidra/Features/Decompiler/src/decompile/cpp/printc.cc M Ghidra/Features/Decompiler/src/decompile/cpp/printc.hh M Ghidra/Features/Decompiler/src/decompile/cpp/printlanguage.cc M Ghidra/Features/Decompiler/src/decompile/cpp/printlanguage.hh M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.cc M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh ``` * Add new C++ files to CMake * Fix more strict weak ordering issues --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Eric Kilmer <eric.kilmer@trailofbits.com> |
||
|
|
9daaa780c2 |
Update Ghidra HEAD to commit 0ee235fba (#396)
Changed files: ``` M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_op.cc M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.cc M Ghidra/Processors/8051/data/languages/80251.sinc M Ghidra/Processors/AARCH64/data/languages/AARCH64.pspec M Ghidra/Processors/AARCH64/data/languages/AARCH64neon.sinc M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc M Ghidra/Processors/CR16/data/languages/CR16C.sinc M Ghidra/Processors/MIPS/data/languages/mips16.sinc M Ghidra/Processors/PIC/data/languages/pic18_instructions.sinc M Ghidra/Processors/PowerPC/data/languages/altivec.sinc M Ghidra/Processors/PowerPC/data/languages/ppc_vle.sinc M Ghidra/Processors/eBPF/data/languages/eBPF.sinc ``` Commit details: ``` [Commit 1/19] Hash: 1660b9ca4718c9907d279653a99c6d4190a1071f Date: 2026-02-09 15:33:05 +0000 Message: GP-6419: Fixed MIPS16 pcodetest failures Files changed: M Ghidra/Processors/MIPS/data/languages/mips16.sinc [Commit 2/19] Hash: a05ba1f778511e92abc29c933cb17da9477cc7c5 Date: 2026-02-05 23:13:56 +0000 Message: GP-6416 Add support for simplifying unequal LEFT then RIGHT shifts Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc [Commit 3/19] Hash: 690a23344f9de200056b8e7af4384e26f42e300b Date: 2026-02-05 19:28:59 +0000 Message: GP-6393 Deduplicate INDIRECT storage for HeapSequence Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.hh [Commit 4/19] Hash: 6ced49d1d7fd91663e7627b11fc4e68dd06bca1c Date: 2026-02-03 16:08:01 +0000 Message: GP-4241: Discoverable per-arch userop-lib framework and AARCH64 port. Files changed: M Ghidra/Processors/AARCH64/data/languages/AARCH64.pspec [Commit 5/19] Hash: 9a9b6cd063bc830c749804be0ab4213ec8de0010 Date: 2026-01-29 20:26:27 +0000 Message: GP-6388 Adjust getInputCast for TypeOpPtradd and TypeOpPtrsub Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.cc [Commit 6/19] Hash: c9be1860c181581ee192cb86e97eeec983a6bf00 Date: 2024-05-28 17:09:24 +0930 Message: AArch32: fixed ldrexd Details: * fixed addr src register aliased as first dest register of a double word load causing second word load at the value of first load Files changed: M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc [Commit 7/19] Hash: c0bc9a882b7e6c6d3c0549c4410a8ae1abb68f00 Date: 2024-02-08 10:19:47 +0100 Message: PowerPC VLE: Fix se_blrl flow Details: Opcode se_blrl is branch link register and link. Treating it as a return break flow and is wrong. Non VLE is already correct. Files changed: M Ghidra/Processors/PowerPC/data/languages/ppc_vle.sinc [Commit 8/19] Hash: e94681701a89f34cf35edc18085684a8e40fc6b7 Date: 2025-12-02 02:03:52 +0100 Message: CR16: fix CR16C TBIT instruction Files changed: M Ghidra/Processors/CR16/data/languages/CR16C.sinc [Commit 9/19] Hash: af8a3704212b157d21bfddad834f6485fdfabeb1 Date: 2025-12-02 22:00:49 +0100 Message: Fix eBPF compare-and-exchange instruction Details: Linux kernel's documentation tells in https://www.kernel.org/doc/html/v6.0/bpf/instruction-set.html#atomic-operations > The BPF_CMPXCHG operation atomically compares the value addressed by > dst_reg + off with R0. If they match, the value addressed by > dst_reg + off is replaced with src_reg. In either case, the value that > was at dst_reg + off before the operation is zero-extended and loaded > back to R0. If the values don't match, *(dst_reg + off) is not supposed to be modified. Moreover, register R0 is always modified and the 32-bit instruction truncates its value (with a zero-extension). This is also clear in the implementation of BPF_CMPXCHG in https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/bpf/core.c?h=v6.18#n2186 case BPF_CMPXCHG: if (BPF_SIZE(insn->code) == BPF_W) BPF_R0 = (u32) atomic_cmpxchg( (atomic_t *)(unsigned long) (DST + insn->off), (u32) BPF_R0, (u32) SRC); else if (BPF_SIZE(insn->code) == BPF_DW) BPF_R0 = (u64) atomic64_cmpxchg( (atomic64_t *)(unsigned long) (DST + insn->off), (u64) BPF_R0, (u64) SRC); Fix the semantic of the compare-and-exchange instruction accordingly. Files changed: M Ghidra/Processors/eBPF/data/languages/eBPF.sinc [Commit 10/19] Hash: ff6eb2213bca878cdcef0e9cec20e524d8d9f944 Date: 2025-12-02 16:19:37 +0100 Message: Fix disassembly of eBPF atomic instructions Details: eBPF ISA v3 introduced atomic instructions: https://www.kernel.org/doc/html/v6.0/bpf/instruction-set.html#atomic-operations These instructions are encoded using BPF_ATOMIC | BPF_W | BPF_STX and BPF_ATOMIC | BPF_DW | BPF_STX for 32-bit and 64-bit operations, with: BPF_ATOMIC = 0xc0 BPF_DW = 0x18 BPF_W = 0 BPF_STX = 0x03 While Ghidra's semantic section is constructed correctly (atomic add uses an addition ; atomic or uses or ; ...), the disassembly always displays STXXADDW and STXXADDDW. These mnemonics come from the deprecated name BPF_XADD = BPF_ATOMIC | BPF_ADD = 0xc0. Replace the confusing mnemonics with the ones used by binutils and documented in https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gas/doc/c-bpf.texi;h=003cb92a457985038a9abc1ffbf347f636eb0586;hb=2bc7af1ff7732451b6a7b09462a815c3284f9613#l745 Files changed: M Ghidra/Processors/eBPF/data/languages/eBPF.sinc [Commit 11/19] Hash: c1f97cde08ab235c0fe9adb723971a608550fdc2 Date: 2025-12-22 19:47:24 +0100 Message: Fix missing Altivec vadduws instruction Files changed: M Ghidra/Processors/PowerPC/data/languages/altivec.sinc [Commit 12/19] Hash: c981c0b5dd19818117178f3ce4a9d8737c306e65 Date: 2025-12-16 20:07:56 +0000 Message: GP-6004: Refactored out duplicated constructors Files changed: M Ghidra/Processors/PIC/data/languages/pic18_instructions.sinc [Commit 13/19] Hash: 78859d55fdf28dfbe9dac0658948754515d44e36 Date: 2025-12-04 19:25:56 +0000 Message: GP-5905: Fixed issue with 80251 instructions referencing SPX register Files changed: M Ghidra/Processors/8051/data/languages/80251.sinc [Commit 14/19] Hash: 826834c424b631358f06899dfd0203138ba2cb7d Date: 2025-11-25 13:32:37 +0100 Message: decompiler: Fix extreme value checks in Funcdata::replaceLessequal Details: Fixes https://github.com/NationalSecurityAgency/ghidra/issues/8696 The checks for extreme values when transforming <= to < were incomplete and relied on undefined behavior, making compilers optimize them out. Specifically, for SLESS_EQUAL, the decompiler relied on integer overflows. For integers smaller than 8 bytes, no overflow will occur when adding 1, resulting in a missed case and, thus, x <= INT_MAX will become x < INT_MIN. For the signed case when subtracting one, the compiler removes the check due to undefined behavior, resulting in another missed case. To fix this, add helper functions for computing maximum and minimum values for signed and unsigned varnodes and directly check for them. Files changed: M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_op.cc [Commit 15/19] Hash: 2e3bedf7daf1c5c38cbf1c3f90b6f4cd449f7020 Date: 2025-11-04 13:50:15 +0000 Message: GP-6004: Corrected bit-pattern comments Files changed: M Ghidra/Processors/PIC/data/languages/pic18_instructions.sinc [Commit 16/19] Hash: 49c13a7ba733f2af63f3d33d83cba8103456249e Date: 2025-09-17 10:43:57 +0200 Message: missed one Files changed: M Ghidra/Processors/PIC/data/languages/pic18_instructions.sinc [Commit 17/19] Hash: 48ca4badb7ea2eb18ffd6f9b6ede356932160067 Date: 2025-09-13 16:17:07 -0700 Message: forgot to take out this change Files changed: M Ghidra/Processors/PIC/data/languages/pic18_instructions.sinc [Commit 18/19] Hash: 7fa6bda98ee9a350be49c0b4a8f9cf8c83b39490 Date: 2025-09-10 00:58:15 -0700 Message: remove destREG to fix double inc/dec Files changed: M Ghidra/Processors/PIC/data/languages/pic18_instructions.sinc [Commit 19/19] Hash: 5e4522fc3a2a547c9b1c94ab293890bb9f767ac3 Date: 2024-04-09 16:43:13 +0930 Message: AA64: Change sha1h shift to rotate Files changed: M Ghidra/Processors/AARCH64/data/languages/AARCH64neon.sinc ``` --------- Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
0eb9da05b7 | ci: Fix GHA PR update script message character escaping | ||
|
|
76278daf20 | ci: Fix app-id and private-key options to create-github-app-token | ||
|
|
db0dc4c479 | Ghidra 12.0.3 (#395) v12.0.3 | ||
|
|
efe3b7dcbd | Ghidra 12.0.2 (#394) v12.0.2 | ||
|
|
d4b0316955 | Use official actions/create-github-app-token (#393) | ||
|
|
86f39ba60f |
Detect new files requiring manual intervention in Ghidra HEAD updates (#390)
Add functionality to the weekly sync workflow to detect newly added or deleted C++ source files and spec files that may require manual CMake configuration updates. When such files are detected, the PR body will include a warning section listing the files and instructions for maintainers. This addresses issue #121 where new files added to Sleigh in Ghidra weren't being noticed, leading to missing headers that required manual fixes later. Changes: - Add CategorizedChanges dataclass to track added/deleted cpp/spec files - Add helper methods to parse git status and categorize files - Expand IGNORED_EXTENSIONS to filter more non-relevant file types - Set new GitHub Actions outputs: needs_manual_intervention and intervention_details - Update workflow to conditionally add warning section to PR body Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
0dd2d21bdc |
build(deps): bump actions/upload-pages-artifact from 3 to 4 (#392)
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
d02e760030 |
Update Ghidra HEAD to commit ccbdd4f66 (#391)
Bump Ghidra HEAD commit ccbdd4f66 Changed files: ``` M Ghidra/Processors/AARCH64/data/languages/AARCH64base.sinc ``` Commit details: ``` [Commit 1/1] Hash: b5fb4d36ed94a83c52fcf11b701f43b2ef18404a Date: 2024-05-29 00:43:57 +0930 Message: AA64: Add ls_data8 to ldapr Files changed: M Ghidra/Processors/AARCH64/data/languages/AARCH64base.sinc ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
42d2ee7457 |
Replace peter-evans/create-pull-request with native git and gh CLI (#389)
Reduces third-party dependencies by using native git commands and the pre-installed gh CLI instead of the peter-evans/create-pull-request action. Adds idempotency check to skip if PR already exists for branch. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
0664b5c545 | Dark-mode for index.html |