Compare commits

...

7 Commits

Author SHA1 Message Date
dependabot[bot] 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>
2026-06-20 15:43:03 -04:00
auto-updater[bot] 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>
2026-06-15 10:17:01 -04:00
Eric Kilmer df4e0ff075 Default to Visual Studio 18 2026 in CMakePresets (#426)
CI updated and now installs this new version
2026-06-15 09:57:30 -04:00
auto-updater[bot] 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>
2026-06-08 11:57:06 -04:00
Eric Kilmer bfd38a983b Ghidra 12.1.2 (#424) 2026-06-08 09:40:23 -04:00
auto-updater[bot] 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>
2026-06-01 09:14:47 -04:00
auto-updater[bot] 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>
2026-05-25 17:14:03 -04:00
7 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Setup Git User for Applying Patches
# See this thread for more details https://github.community/t/github-actions-bot-email-address/17204/5
+3 -3
View File
@@ -33,7 +33,7 @@ jobs:
build_type: Debug
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Setup Git User for Applying Patches
# See this thread for more details https://github.community/t/github-actions-bot-email-address/17204/5
@@ -295,7 +295,7 @@ jobs:
release: [stable, HEAD]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Setup Git User for Applying Patches
run: |
@@ -388,7 +388,7 @@ jobs:
release: [stable, HEAD]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Setup Git User for Applying Patches
run: |
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
+1 -1
View File
@@ -77,7 +77,7 @@
{
"name": "ci-win64",
"inherits": ["flags-windows", "ci-std"],
"generator": "Visual Studio 17 2022",
"generator": "Visual Studio 18 2026",
"architecture": "x64",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake",
+2 -2
View File
@@ -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 "12.1")
set(ghidra_version "12.1.2")
set(ghidra_git_tag "Ghidra_${ghidra_version}_build")
set(ghidra_shallow TRUE)
@@ -55,7 +55,7 @@ if("${sleigh_RELEASE_TYPE}" STREQUAL "HEAD")
# TODO: CMake only likes numeric characters in the version string....
set(ghidra_head_version "12.2")
set(ghidra_version "${ghidra_head_version}")
set(ghidra_head_git_tag "3d92a003fcd9a9949d78a172dc7295b95af12965")
set(ghidra_head_git_tag "74d498f8da7d13f84604f531d59cb0cac028d6b2")
set(ghidra_git_tag "${ghidra_head_git_tag}")
set(ghidra_shallow FALSE)
set(ghidra_patches
+1
View File
@@ -4,6 +4,7 @@ set(spec_file_list
"${ghidrasource_SOURCE_DIR}/Ghidra/Processors/68000/data/languages/68020.slaspec"
"${ghidrasource_SOURCE_DIR}/Ghidra/Processors/68000/data/languages/68030.slaspec"
"${ghidrasource_SOURCE_DIR}/Ghidra/Processors/68000/data/languages/68040.slaspec"
"${ghidrasource_SOURCE_DIR}/Ghidra/Processors/68000/data/languages/CPU32.slaspec"
"${ghidrasource_SOURCE_DIR}/Ghidra/Processors/68000/data/languages/coldfire.slaspec"
"${ghidrasource_SOURCE_DIR}/Ghidra/Processors/8048/data/languages/8048.slaspec"
"${ghidrasource_SOURCE_DIR}/Ghidra/Processors/8051/data/languages/80251.slaspec"
+5 -4
View File
@@ -26,10 +26,11 @@ add_executable(sleigh_decomp_test
"${library_root}/../unittests/testparamstore.cc"
)
# if(sleigh_RELEASE_IS_HEAD)
# target_sources(sleigh_decomp_test PRIVATE
# )
# endif()
if(sleigh_RELEASE_IS_HEAD)
target_sources(sleigh_decomp_test PRIVATE
"${library_root}/../unittests/testmultiprec.cc"
)
endif()
target_compile_features(sleigh_decomp_test PRIVATE cxx_std_11)
target_include_directories(sleigh_decomp_test PRIVATE "${library_root}")