Bump Ghidra HEAD commit 65b290624
Changed files:
```
M Ghidra/Processors/x86/data/languages/old/x86RealV1.lang
M Ghidra/Processors/x86/data/languages/old/x86RealV2.lang
M Ghidra/Processors/x86/data/languages/old/x86RealV3.lang
M Ghidra/Processors/x86/data/languages/old/x86_ProtV2.lang
M Ghidra/Processors/x86/data/languages/old/x86_ProtV3.lang
M Ghidra/Processors/x86/data/languages/old/x86smmV1.lang
M Ghidra/Processors/x86/data/languages/old/x86smmV2.lang
M Ghidra/Processors/x86/data/languages/old/x86smmV3.lang
```
Commit details:
```
[Commit 1/1]
Hash: 271ec694ad598cf6569c8d273cc0424c49b2571e
Date: 2025-05-19 16:01:16 -0400
Message: GP-5704 Corrected language upgrade issue affecting x86-16 Protected and SMM mode variants.
Files changed:
M Ghidra/Processors/x86/data/languages/old/x86RealV1.lang
M Ghidra/Processors/x86/data/languages/old/x86RealV2.lang
M Ghidra/Processors/x86/data/languages/old/x86RealV3.lang
M Ghidra/Processors/x86/data/languages/old/x86_ProtV2.lang
M Ghidra/Processors/x86/data/languages/old/x86_ProtV3.lang
M Ghidra/Processors/x86/data/languages/old/x86smmV1.lang
M Ghidra/Processors/x86/data/languages/old/x86smmV2.lang
M Ghidra/Processors/x86/data/languages/old/x86smmV3.lang
```
Bump Ghidra HEAD commit 4a46edc9f
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/action.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/block.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/blockaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc
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/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/prettyprint.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/stringmanage.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
M Ghidra/Processors/SuperH4/data/languages/SuperH4.sinc
```
Commit details:
```
[Commit 1/3]
Hash: 6730154316df215c1c4125039c083e5d02d475b8
Date: 2025-04-21 07:54:19 -0400
Message: GP-0: Certify
Files changed:
M Ghidra/Features/Decompiler/src/decompile/cpp/action.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/blockaction.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/prettyprint.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/stringmanage.hh
[Commit 2/3]
Hash: 830306162955c3bffaffa5d0c65d85f0dc49cc99
Date: 2025-04-19 18:06:41 +0200
Message: Many typo's These were found using the command below searching for duplicated words, and manually going through the results to remove the false positives and reword the true positives. Sometimes I removed the doubled word and sometimes I replaced the duplicated word.
Details:
The grep command:
grep -nIEr '\b([a-zA-Z]+)[[:space:]*]+\1\b' ./Ghidra
Files changed:
M Ghidra/Features/Decompiler/src/decompile/cpp/action.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/block.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/blockaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc
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/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/prettyprint.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/stringmanage.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
M Ghidra/Processors/SuperH4/data/languages/SuperH4.sinc
[Commit 3/3]
Hash: b7e91e80a2cc8e54bf54f28a8551bd8378b30d90
Date: 2025-04-19 17:20:51 +0200
Message: Fix various "function" typos
Files changed:
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
```
Can now compare arbitrary commits/tags in Ghidra to collect all changes
between versions. This could be used to backfill or create a page with
all commit information between official version releases or keep running
tabs on changes introduced in HEAD.
Was testing out Cursor and LLM abilities to code this. Seemed to work
decently well!
Used Cursor v0.46.11 with claude-3.7-sonnet-thinking Agent mode with context
files:
- scripts/update_ghidra_head.py
and the following prompt (in the same chat as the parent commit):
---------------------
Please reduce code duplication when appropriate
Used Cursor v0.46.11 with claude-3.7-sonnet-thinking Agent mode with context
files:
- scripts/update_ghidra_head.py
and the following prompt:
---------------------
Please add an option to allow the user to specify begin and end commits, such
that the script does not read from or update the CMake file and requires
specifying an existing Ghidra git repository. For instance, it would look
something like the following, where `Ghidra_11.3_build` and `Ghidra_11.3.1_build`
are starting and ending commit, respectively.
```
python3 ./scripts/update_ghidra_head.py --ghidra-repo ./src/ghidra-HEAD Ghidra_11.3_build Ghidra_11.3.1_build
```
I also want it to support where only a starting commit is provided, and it shows
the commits from start to the current commit specified by `--ghidra-repo` path.
This also shouldn't update anything
```
python3 ./scripts/update_ghidra_head.py --ghidra-repo ./src/ghidra-HEAD Ghidra_11.3_build
```
Used Cursor v0.46.11 with claude-3.7-sonnet-thinking Agent mode with context
files:
- scripts/update_ghidra_head.py
- .github/workflows/main.yml
and the following prompt:
---------------------
Please refine the Python script to be more succinct, easier to understand, and
extendable. Use professional Python 3 constructs, syntax, and design. Do not
overcomplicate it. This script is standalone and won't be integrated into a
larger project.
Bump Ghidra HEAD commit 13834faba
Changed files:
```
M Ghidra/Processors/ARM/data/languages/ARM.cspec
M Ghidra/Processors/ARM/data/languages/ARM.sinc
M Ghidra/Processors/ARM/data/languages/ARM_v45.cspec
M Ghidra/Processors/ARM/data/languages/ARM_win.cspec
M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc
M Ghidra/Processors/MC6800/data/languages/6x09.sinc
M Ghidra/Processors/MIPS/data/languages/mips16.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/lockable.sinc
M Ghidra/Processors/x86/data/languages/x86.ldefs
```
Commit details:
```
[Commit 1/5]
Hash: 41305fb45e91070800d2f0f58f49b2ba3010218a
Date: 2025-04-10 14:46:25 -0400
Message: GP-5011: Fixed x86 stack push/pop sizing issues
Files changed:
M Ghidra/Processors/x86/data/languages/ia.sinc
[Commit 2/5]
Hash: 30008b6715aeadc478c5861846d502804aa74003
Date: 2025-04-09 10:04:02 -0400
Message: GP-5030 improved x87 operand display
Files changed:
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/lockable.sinc
M Ghidra/Processors/x86/data/languages/x86.ldefs
[Commit 3/5]
Hash: b702aa0a6f43eacf066ca194b8bce1794378ce53
Date: 2025-04-04 16:18:36 +0000
Message: GP-5301: Fix ARM/THUMB ISA mode switching for indirect branches in JIT.
Files changed:
M Ghidra/Processors/ARM/data/languages/ARM.cspec
M Ghidra/Processors/ARM/data/languages/ARM.sinc
M Ghidra/Processors/ARM/data/languages/ARM_v45.cspec
M Ghidra/Processors/ARM/data/languages/ARM_win.cspec
M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc
[Commit 4/5]
Hash: 96c1ec0970ec1799d11661acde976bd1c7cbdb8a
Date: 2024-11-15 16:14:12 +0000
Message: GP-5131: Fixed MIPS16e instruction delayslot relative addressing
Files changed:
M Ghidra/Processors/MIPS/data/languages/mips16.sinc
[Commit 5/5]
Hash: 387c283e8953d28f8f44e8776734c405793e1d1f
Date: 2024-03-14 07:33:47 +0200
Message: Github issue #5767 - 6x09.sinc: Fix COM instruction
Details:
The complement macro was erroneously always complementing A register
instead of the macro parameter op. This caused errors with the COMB
and COM OP1 instructions.
Closes#5767.
Files changed:
M Ghidra/Processors/MC6800/data/languages/6x09.sinc
```
Changed files:
```
M Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.cspec
M Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.register.info
M Ghidra/Processors/x86/data/languages/x86-32-golang.cspec
M Ghidra/Processors/x86/data/languages/x86-32-golang.register.info
M Ghidra/Processors/x86/data/languages/x86-64-golang.cspec
M Ghidra/Processors/x86/data/languages/x86-64-golang.register.info
```
Commit details:
```
[Commit 1/1]
Hash: 36c6c8ef77c20b7d1b29ae2b4cee501c2d01fbd2
Date: 2024-11-12 10:36:35 -0500
Message: GP-2432 golang api snapshot, generics, closures, gcwritebarrier
Details:
Apply golang runtime function signatures from info stored in json api
snapshot files.
The api snapshot files are created by a custom go helper program that
uses the go compiler parser to parse the go toolchain source tree and
writes the discovered function and type info into a json file.
The go-api-parser helper program is based off of work contributed by
github user monoidic via issue #6367.
Updates generic functions to take a generic dictionary RTTI
parameter (mostly to allow correct assignment of other parameters).
Updates closure functions to take a closure context parameter. Closure
contexts are passed via a register that is not involved in normal
parameter passing.
Tweaks the signature of gcWriteBarrier functions so that they don't mess
up decompilation of functions that use them.
Files changed:
M Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.cspec
M Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.register.info
M Ghidra/Processors/x86/data/languages/x86-32-golang.cspec
M Ghidra/Processors/x86/data/languages/x86-32-golang.register.info
M Ghidra/Processors/x86/data/languages/x86-64-golang.cspec
M Ghidra/Processors/x86/data/languages/x86-64-golang.register.info
```
Add CMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded to CI line
- Needs to be before the first project call
Set required CMake Policy for MSVC ccache debug type
Changed files:
```
M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc
M Ghidra/Processors/ARM/data/languages/ARMneon.sinc
```
Commit details:
```
[Commit 1/2]
Hash: a2af457dea62bb31a176f5874f4918c63b8e59a6
Date: 2025-02-18 13:47:09 +0000
Message: GP-5386: Added missing ARM thumb strt instruction
Files changed:
M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc
[Commit 2/2]
Hash: 065ef72288885ab10895b9a77056ef7bcec0b5bc
Date: 2024-05-20 11:22:54 +0930
Message: AArch32: fixed vdup
Details:
* 8byte vector duplication to 16byte performed bitwise AND (destructive) instead of OR of the 8byte shifted results, causing all 16byte vector duplications to be 0
* non-thumb constraints were used in a thumb instruction, added thumb specific constraints and separated them using TMode ctx field
Files changed:
M Ghidra/Processors/ARM/data/languages/ARMneon.sinc
```
**NOTE:** Upstream has failing tests. Reported here, within a PR to make
understanding test failures easier:
https://github.com/NationalSecurityAgency/ghidra/pull/7883
Issue is caused by commit 69dd166c3ae0780c753999476f1fc7ea706ec876
Changed files:
```
M Ghidra/Processors/ARM/data/languages/ARMneon.sinc
M Ghidra/Processors/x86/data/languages/x86-64-gcc.cspec
M Ghidra/Processors/x86/data/languages/x86-64-win.cspec
M Ghidra/Processors/x86/data/languages/x86gcc.cspec
```
Commit details:
```
[Commit 1/2]
Hash: 115353d34c1d2162dcf8756adfd2af9fea3e1eae
Date: 2025-02-03 12:41:21 -0500
Message: GP-5268: Implemented ARM NEON vld4 instruction
Files changed:
M Ghidra/Processors/ARM/data/languages/ARMneon.sinc
[Commit 2/2]
Hash: 69dd166c3ae0780c753999476f1fc7ea706ec876
Date: 2025-02-04 21:37:27 +0000
Message: GP-5183 Fixes to x86 and x64 cspecs
Files changed:
M Ghidra/Processors/x86/data/languages/x86-64-gcc.cspec
M Ghidra/Processors/x86/data/languages/x86-64-win.cspec
M Ghidra/Processors/x86/data/languages/x86gcc.cspec
```
Add detailed commit information to the Ghidra HEAD update process:
- Display information about each commit affecting sleigh files
- Include these commit details in GitHub Action PR descriptions
- Add --dry-run flag to preview changes without modifying files
- Improve output formatting and error handling
Also reformat the Python script with ruff
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Processors/x86/data/languages/avx512.sinc
M Ghidra/Processors/x86/data/languages/avx512_manual.sinc
```
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
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/ghidra_translate.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_translate.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/pcoderaw.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/pcoderaw.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/rulecompile.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/sleighbase.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleighbase.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/unittests/testmarshal.cc
M Ghidra/Processors/ARM/data/languages/ARMneon.sinc
M Ghidra/Processors/x86/data/languages/avx.sinc
M Ghidra/Processors/x86/data/languages/avx512.sinc
M Ghidra/Processors/x86/data/languages/avx512_manual.sinc
M Ghidra/Processors/x86/data/languages/cet.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/x86.ldefs
```
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.hh
```
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/build.gradle
M Ghidra/Features/Decompiler/src/decompile/cpp/cast.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/funcdata.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_op.cc
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/subflow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc
A Ghidra/Features/Decompiler/src/decompile/datatests/concatsplit.xml
```
Changed files:
```
M Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.register.info
M Ghidra/Processors/x86/data/languages/x86-64-golang.register.info
```
Changed files:
```
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/funcdata_op.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.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/type.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.hh
```
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.hh
M Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430.cspec
```
Bump Ghidra HEAD commit ec59e407b
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/condexe.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/condexe.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.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/ruleaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/ccmp.xml
M Ghidra/Processors/68000/data/languages/68000.ldefs
M Ghidra/Processors/AARCH64/data/languages/AARCH64.ldefs
M Ghidra/Processors/AARCH64/data/languages/AARCH64_swift.cspec
M Ghidra/Processors/ARM/data/languages/ARM.ldefs
M Ghidra/Processors/Loongarch/data/languages/loongarch.ldefs
M Ghidra/Processors/MIPS/data/languages/mips.ldefs
M Ghidra/Processors/PowerPC/data/languages/ppc.ldefs
M Ghidra/Processors/RISCV/data/languages/riscv.ldefs
M Ghidra/Processors/Sparc/data/languages/SparcV9.ldefs
M Ghidra/Processors/SuperH4/data/languages/SuperH4.ldefs
M Ghidra/Processors/Xtensa/data/languages/xtensa.ldefs
M Ghidra/Processors/x86/data/languages/x86-64-swift.cspec
M Ghidra/Processors/x86/data/languages/x86.ldefs
```
* cron/update-ghidra-2333ab611:
Fix Windows Debug build with patch for strict weak ordering
Rework and regenerate patches
Bump Ghidra HEAD commit 2333ab611
Changed files:
```
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/grammar.cc
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/marshal.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.hh
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/testfunction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/testfunction.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/typeop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/enum.xml
M Ghidra/Features/Decompiler/src/decompile/datatests/heapstring.xml
M Ghidra/Features/Decompiler/src/decompile/unittests/testtypes.cc
M Ghidra/Processors/AARCH64/data/languages/AARCH64.opinion
M Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430.cspec
```
Bump Ghidra HEAD commit 30ef757d8
Changed files:
```
A Ghidra/Processors/6502/README.md
M Ghidra/Processors/6502/certification.manifest
A Ghidra/Processors/68000/README.md
M Ghidra/Processors/68000/certification.manifest
A Ghidra/Processors/8048/README.md
M Ghidra/Processors/8048/certification.manifest
A Ghidra/Processors/8051/README.md
M Ghidra/Processors/8051/certification.manifest
A Ghidra/Processors/8085/README.md
M Ghidra/Processors/8085/certification.manifest
A Ghidra/Processors/AARCH64/README.md
M Ghidra/Processors/AARCH64/certification.manifest
A Ghidra/Processors/ARM/README.md
M Ghidra/Processors/ARM/certification.manifest
A Ghidra/Processors/Atmel/README.md
M Ghidra/Processors/Atmel/certification.manifest
A Ghidra/Processors/BPF/README.md
M Ghidra/Processors/BPF/certification.manifest
A Ghidra/Processors/CP1600/README.md
M Ghidra/Processors/CP1600/certification.manifest
A Ghidra/Processors/CR16/README.md
M Ghidra/Processors/CR16/certification.manifest
A Ghidra/Processors/DATA/README.md
M Ghidra/Processors/DATA/certification.manifest
A Ghidra/Processors/Dalvik/README.md
M Ghidra/Processors/Dalvik/certification.manifest
A Ghidra/Processors/HCS08/README.md
M Ghidra/Processors/HCS08/certification.manifest
A Ghidra/Processors/HCS12/README.md
M Ghidra/Processors/HCS12/certification.manifest
A Ghidra/Processors/JVM/README.md
M Ghidra/Processors/JVM/certification.manifest
A Ghidra/Processors/Loongarch/README.md
M Ghidra/Processors/Loongarch/certification.manifest
A Ghidra/Processors/M16C/README.md
M Ghidra/Processors/M16C/certification.manifest
A Ghidra/Processors/M8C/README.md
M Ghidra/Processors/M8C/certification.manifest
A Ghidra/Processors/MC6800/README.md
M Ghidra/Processors/MC6800/certification.manifest
A Ghidra/Processors/MCS96/README.md
M Ghidra/Processors/MCS96/certification.manifest
A Ghidra/Processors/MIPS/README.md
M Ghidra/Processors/MIPS/certification.manifest
A Ghidra/Processors/PA-RISC/README.md
M Ghidra/Processors/PA-RISC/certification.manifest
A Ghidra/Processors/PIC/README.md
M Ghidra/Processors/PIC/certification.manifest
A Ghidra/Processors/PowerPC/README.md
M Ghidra/Processors/PowerPC/certification.manifest
A Ghidra/Processors/RISCV/README.md
M Ghidra/Processors/RISCV/certification.manifest
A Ghidra/Processors/Sparc/README.md
M Ghidra/Processors/Sparc/certification.manifest
A Ghidra/Processors/SuperH/README.md
M Ghidra/Processors/SuperH/certification.manifest
A Ghidra/Processors/SuperH4/README.md
M Ghidra/Processors/SuperH4/certification.manifest
A Ghidra/Processors/TI_MSP430/README.md
M Ghidra/Processors/TI_MSP430/certification.manifest
A Ghidra/Processors/Toy/README.md
M Ghidra/Processors/Toy/certification.manifest
A Ghidra/Processors/V850/README.md
M Ghidra/Processors/V850/certification.manifest
A Ghidra/Processors/Xtensa/README.md
M Ghidra/Processors/Xtensa/certification.manifest
A Ghidra/Processors/Z80/README.md
M Ghidra/Processors/Z80/certification.manifest
A Ghidra/Processors/eBPF/README.md
M Ghidra/Processors/eBPF/certification.manifest
A Ghidra/Processors/tricore/README.md
M Ghidra/Processors/tricore/certification.manifest
A Ghidra/Processors/x86/README.md
M Ghidra/Processors/x86/certification.manifest
```
Co-authored-by: pgoodman <43664+pgoodman@users.noreply.github.com>
* Remove index-check patch merged in upstream
Changed files:
```
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/constseq.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/constseq.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_op.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.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/typeop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/inline.xml
```
---------
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/cover.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/cpool.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/double.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/filemanage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.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.y
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.hh
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/merge.hh
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/paramid.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/test.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/types.h
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc
A Ghidra/Features/Decompiler/src/decompile/datatests/revisit.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/switchloop.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/switchmulti.xml
M Ghidra/Processors/ARM/src/test.processors/java/ghidra/test/processors/ARM_v8m_O0_EmulatorTest.java
M Ghidra/Processors/ARM/src/test.processors/java/ghidra/test/processors/ARM_v8m_O3_EmulatorTest.java
```
---------
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/block.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/block.hh
A Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc
A 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/double.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/double.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/fspec.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/ghidra_arch.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.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/printc.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/sleighbase.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/space.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/stringmanage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/stringmanage.hh
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/testfunction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/transform.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/transform.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/typeop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/userop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/userop.hh
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/varmap.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/doublemove.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/floatcast.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/floatconv.xml
M Ghidra/Features/Decompiler/src/decompile/datatests/floatprint.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/heapstring.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/orcompare.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/stackstring.xml
M Ghidra/Features/Decompiler/src/decompile/unittests/testfloatemu.cc
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/8051/certification.manifest
A Ghidra/Processors/8051/data/languages/8051.opinion
M Ghidra/Processors/AARCH64/data/languages/AARCH64_win.cspec
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java
M Ghidra/Processors/ARM/data/languages/ARM.dwarf
M Ghidra/Processors/ARM/data/languages/ARMneon.dwarf
M Ghidra/Processors/ARM/data/languages/ARMneon.sinc
M Ghidra/Processors/ARM/data/languages/ARMv8.sinc
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationHandler.java
M Ghidra/Processors/Atmel/ghidra_scripts/CreateAVR8GDTArchiveScript.java
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR32_ElfRelocationHandler.java
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR8_ElfRelocationHandler.java
M Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationHandler.java
A Ghidra/Processors/M16C/Module.manifest
A Ghidra/Processors/M16C/build.gradle
A Ghidra/Processors/M16C/certification.manifest
A Ghidra/Processors/M16C/data/languages/M16C_60.cspec
A Ghidra/Processors/M16C/data/languages/M16C_60.ldefs
A Ghidra/Processors/M16C/data/languages/M16C_60.pspec
A Ghidra/Processors/M16C/data/languages/M16C_60.slaspec
A Ghidra/Processors/M16C/data/languages/M16C_80.cspec
A Ghidra/Processors/M16C/data/languages/M16C_80.ldefs
A Ghidra/Processors/M16C/data/languages/M16C_80.pspec
A Ghidra/Processors/M16C/data/languages/M16C_80.slaspec
A Ghidra/Processors/M16C/data/manuals/M16C_60.idx
A Ghidra/Processors/M16C/data/manuals/M16C_80.idx
M Ghidra/Processors/MIPS/data/languages/MIPS.opinion
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationHandler.java
M Ghidra/Processors/PIC/data/languages/pic16.ldefs
M Ghidra/Processors/PIC/data/languages/pic16.pspec
M Ghidra/Processors/PIC/data/languages/pic16.sinc
M Ghidra/Processors/PIC/data/languages/pic16_instructions.sinc
M Ghidra/Processors/PIC/data/languages/pic16f.pspec
M Ghidra/Processors/PIC/src/main/java/ghidra/app/plugin/core/analysis/Pic16Analyzer.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PIC30_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/data/languages/SPE_APU.sinc
M Ghidra/Processors/PowerPC/data/languages/evx.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc.ldefs
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/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationHandler.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationHandler.java
M Ghidra/Processors/Sparc/certification.manifest
M Ghidra/Processors/Sparc/data/languages/SparcV9.ldefs
M Ghidra/Processors/Sparc/data/languages/SparcV9.sinc
M Ghidra/Processors/Sparc/data/languages/SparcV9_32.cspec
M Ghidra/Processors/Sparc/data/languages/SparcV9_64.cspec
M Ghidra/Processors/Sparc/data/patterns/SPARC_patterns.xml
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/plugin/core/analysis/SparcAnalyzer.java
A Ghidra/Processors/Sparc/src/main/java/ghidra/app/plugin/core/analysis/SparcEarlyAddressAnalyzer.java
A Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC64_ElfRelocationHandler.java
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationHandler.java
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationType.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationHandler.java
M Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430X_ElfRelocationHandler.java
M Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430_ElfRelocationHandler.java
M Ghidra/Processors/Xtensa/src/main/java/ghidra/app/util/bin/format/elf/relocation/Xtensa_ElfRelocationHandler.java
D Ghidra/Processors/eBPF/src/main/java/ghidra/app/plugin/core/analysis/eBPFAnalyzer.java
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/plugin/core/analysis/eBPFHelperDataTypes.java
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/plugin/core/analysis/eBPFSyscallAnalyzer.java
M Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/eBPF_ElfRelocationHandler.java
M Ghidra/Processors/tricore/src/main/java/ghidra/app/util/bin/format/elf/relocation/Tricore_ElfRelocationHandler.java
M Ghidra/Processors/x86/data/languages/avx.sinc
M Ghidra/Processors/x86/data/languages/avx2.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/lockable.sinc
M Ghidra/Processors/x86/data/languages/x86-64.pspec
M Ghidra/Processors/x86/data/languages/x86.ldefs
M Ghidra/Processors/x86/data/languages/x86.pspec
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationContext.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationHandler.java
```
* Ignore double floating point test due to errors on mac and Windows
* Reformat patches
---------
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
* Bump Ghidra HEAD commit a1db2dac1
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/constseq.cc
A 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/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/jumptable.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.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/printc.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleighbase.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/stringmanage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/stringmanage.hh
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/userop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/userop.hh
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/varmap.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/stackstring.xml
M Ghidra/Processors/8051/certification.manifest
A Ghidra/Processors/8051/data/languages/8051.opinion
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationHandler.java
M Ghidra/Processors/Atmel/ghidra_scripts/CreateAVR8GDTArchiveScript.java
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR32_ElfRelocationHandler.java
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR8_ElfRelocationHandler.java
M Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationHandler.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationHandler.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PIC30_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationHandler.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationHandler.java
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationHandler.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationHandler.java
M Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430X_ElfRelocationHandler.java
M Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430_ElfRelocationHandler.java
M Ghidra/Processors/Xtensa/src/main/java/ghidra/app/util/bin/format/elf/relocation/Xtensa_ElfRelocationHandler.java
D Ghidra/Processors/eBPF/src/main/java/ghidra/app/plugin/core/analysis/eBPFAnalyzer.java
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/plugin/core/analysis/eBPFHelperDataTypes.java
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/plugin/core/analysis/eBPFSyscallAnalyzer.java
M Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/eBPF_ElfRelocationHandler.java
M Ghidra/Processors/tricore/src/main/java/ghidra/app/util/bin/format/elf/relocation/Tricore_ElfRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationHandler.java
```
* Remove UBSAN fix in funcdata_varnode.cc
Tests now pass. It is unclear whether the tests rely on this undefined
behavior or not. It is also unclear whether the tests even trigger
undefined behavior at this location anymore. This will be revisited when
future testing with sanitizers is investigated and integrated into CI.
* Add new file constseq.{hh,cc}
* Fix error in Windows with vector::reserve and resize
* Regenerate patches
---------
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
* Bump Ghidra HEAD commit 3ec2dfb20
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/block.cc
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/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/transform.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/transform.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/deindirect2.xml
M Ghidra/Processors/MC6800/data/languages/6805.slaspec
M Ghidra/Processors/Z80/build.gradle
M Ghidra/Processors/Z80/data/languages/z80.slaspec
```
* CI: macos fix brew install python
---------
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
Bump Ghidra HEAD commit 195abea7e
Changed files:
```
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
A Ghidra/Processors/x86/data/languages/avx512.sinc
A 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
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/lockable.sinc
A Ghidra/Processors/x86/data/languages/old/x86RealV3.lang
A Ghidra/Processors/x86/data/languages/old/x86RealV3.trans
A Ghidra/Processors/x86/data/languages/old/x86V3.lang
A Ghidra/Processors/x86/data/languages/old/x86V3.trans
A Ghidra/Processors/x86/data/languages/old/x86_64bit_compat32_v3.lang
A Ghidra/Processors/x86/data/languages/old/x86_64bit_compat32_v3.trans
A Ghidra/Processors/x86/data/languages/old/x86_64bit_v3.lang
A Ghidra/Processors/x86/data/languages/old/x86_64bit_v3.trans
A Ghidra/Processors/x86/data/languages/old/x86_ProtV3.lang
A Ghidra/Processors/x86/data/languages/old/x86_ProtV3.trans
A Ghidra/Processors/x86/data/languages/old/x86smmV3.lang
A Ghidra/Processors/x86/data/languages/old/x86smmV3.trans
M Ghidra/Processors/x86/data/languages/x86.ldefs
M Ghidra/Processors/x86/data/languages/x86.slaspec
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/extend/X86_32_ElfExtension.java
```
Co-authored-by: pgoodman <43664+pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 22b1b485b
Changed files:
```
M Ghidra/Processors/AARCH64/data/languages/AARCH64.ldefs
M Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.cspec
M Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.register.info
M Ghidra/Processors/SuperH/data/languages/superh.sinc
M Ghidra/Processors/x86/data/languages/x86-32-golang.register.info
M Ghidra/Processors/x86/data/languages/x86-64-golang.cspec
M Ghidra/Processors/x86/data/languages/x86-64-golang.register.info
```
Co-authored-by: pgoodman <43664+pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit fb844be1f
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/filemanage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/filemanage.hh
M Ghidra/Processors/tricore/data/languages/tricore.sinc
```
Co-authored-by: pgoodman <43664+pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit ef3e74b6d
Changed files:
```
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/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.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/ruleaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/gp.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/switchhide.xml
M Ghidra/Processors/68000/data/languages/68000.cspec
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/68000/src/main/java/ghidra/program/emulation/m68kEmulateInstructionStateModifier.java
M Ghidra/Processors/AARCH64/data/languages/AARCH64.dwarf
M Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.register.info
M Ghidra/Processors/MCS96/data/languages/MCS96.sinc
M Ghidra/Processors/MIPS/data/languages/mips32be.cspec
M Ghidra/Processors/MIPS/data/languages/mips32le.cspec
M Ghidra/Processors/PIC/data/languages/pic16_instructions.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/x86-64-golang.register.info
```
Co-authored-by: pgoodman <43664+pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit e6c8f5b53
Changed files:
```
M Ghidra/Processors/AARCH64/certification.manifest
M Ghidra/Processors/AARCH64/data/languages/AARCH64.ldefs
M Ghidra/Processors/AARCH64/data/languages/AARCH64.opinion
A Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.cspec
A Ghidra/Processors/AARCH64/data/languages/AARCH64_golang.register.info
M Ghidra/Processors/AARCH64/data/languages/AppleSilicon.ldefs
```
Co-authored-by: pgoodman <43664+pgoodman@users.noreply.github.com>
* Bump Ghidra HEAD commit 9abfa3da8
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
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/fspec.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/jumptable.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.hh
A Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/divopt.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/ifswitch.xml
M Ghidra/Processors/AARCH64/data/languages/AARCH64_win.cspec
M Ghidra/Processors/AARCH64/data/languages/AARCH64ldst.sinc
M Ghidra/Processors/PowerPC/certification.manifest
M Ghidra/Processors/PowerPC/data/languages/ppc_32_be.cspec
M Ghidra/Processors/PowerPC/data/languages/ppc_32_e500_be.cspec
M Ghidra/Processors/PowerPC/data/languages/ppc_32_e500_le.cspec
M Ghidra/Processors/PowerPC/data/languages/ppc_32_e500mc_be.cspec
M Ghidra/Processors/PowerPC/data/languages/ppc_32_e500mc_le.cspec
M Ghidra/Processors/PowerPC/data/languages/ppc_32_le.cspec
M Ghidra/Processors/PowerPC/data/languages/ppc_64_32.cspec
M Ghidra/Processors/PowerPC/data/patterns/PPC_BE_patterns.xml
A Ghidra/Processors/PowerPC/data/patterns/PPC_LE_patterns.xml
M Ghidra/Processors/PowerPC/data/patterns/patternconstraints.xml
```
* Add new files
---------
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
* Bump Ghidra HEAD commit cae9190c1
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/emulate.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.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/marshal.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.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/sleigh.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/test.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/test.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc
M Ghidra/Features/Decompiler/src/decompile/datatests/partialsplit.xml
M Ghidra/Features/Decompiler/src/decompile/datatests/readvolatile.xml
M Ghidra/Features/Decompiler/src/decompile/unittests/testparamstore.cc
M Ghidra/Processors/AARCH64/data/patterns/AARCH64_LE_patterns.xml
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationHandler.java
M Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationHandler.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationHandler.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationHandler.java
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationHandler.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationHandler.java
M Ghidra/Processors/V850/data/languages/V850.cspec
M Ghidra/Processors/tricore/data/languages/tricore.cspec
M Ghidra/Processors/tricore/src/main/java/ghidra/app/util/bin/format/elf/relocation/Tricore_ElfRelocationHandler.java
M Ghidra/Processors/x86/data/languages/x86-64-gcc.cspec
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationHandler.java
```
* Remove patches merged upstream
Bump Ghidra HEAD commit 2a7897c36
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/.cproject
M Ghidra/Features/Decompiler/src/decompile/cpp/cast.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/emulateutil.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.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/printlanguage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/printlanguage.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationType.java
M Ghidra/Processors/ARM/certification.manifest
M Ghidra/Processors/ARM/data/languages/ARM.ldefs
M Ghidra/Processors/ARM/data/languages/ARM.sinc
A Ghidra/Processors/ARM/data/languages/ARM8m_be.slaspec
A Ghidra/Processors/ARM/data/languages/ARM8m_le.slaspec
M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc
A Ghidra/Processors/ARM/data/languages/ARM_CDE.sinc
M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationType.java
A Ghidra/Processors/ARM/src/test.processors/java/ghidra/test/processors/ARM_v8m_O0_EmulatorTest.java
A Ghidra/Processors/ARM/src/test.processors/java/ghidra/test/processors/ARM_v8m_O3_EmulatorTest.java
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR8_ElfRelocationType.java
M Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationType.java
M Ghidra/Processors/MIPS/data/patterns/MIPS_BE_patterns.xml
M Ghidra/Processors/MIPS/data/patterns/MIPS_LE_patterns.xml
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationContext.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationType.java
M Ghidra/Processors/PowerPC/data/languages/ppc_instructions.sinc
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationType.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationType.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationType.java
M Ghidra/Processors/Sparc/certification.manifest
A Ghidra/Processors/Sparc/data/languages/Sparc.dwarf
M Ghidra/Processors/Sparc/data/languages/SparcV9.ldefs
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationType.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationType.java
M Ghidra/Processors/TI_MSP430/data/languages/TI430Common.sinc
M Ghidra/Processors/TI_MSP430/data/languages/TI430X.sinc
M Ghidra/Processors/Toy/data/languages/old/v01stuff/toy.sinc
M Ghidra/Processors/Xtensa/data/languages/xtensa.cspec
M Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/eBPF_ElfRelocationType.java
M Ghidra/Processors/tricore/certification.manifest
M Ghidra/Processors/tricore/data/languages/tricore.pspec
M Ghidra/Processors/tricore/data/languages/tricore.sinc
A Ghidra/Processors/tricore/data/patterns/patternconstraints.xml
A Ghidra/Processors/tricore/data/patterns/tricore_patterns.xml
A Ghidra/Processors/tricore/src/main/java/ghidra/app/util/bin/format/elf/relocation/Tricore_ElfRelocationHandler.java
A Ghidra/Processors/tricore/src/main/java/ghidra/app/util/bin/format/elf/relocation/Tricore_ElfRelocationType.java
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationType.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationContext.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationType.java
```
Co-authored-by: ekilmer <816362+ekilmer@users.noreply.github.com>
Upstream has added a compression mechanism for compiled sleigh files. They use Zlib to perform the compression and have added the source code to the Ghidra repo. However, this commit does not use Ghidra's Zlib source and instead searches for it on the host.
This commit also fixes a number of bugs that prevent various parts of the CI pipeline from working on supported OSes. These patches will be reported upstream.
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/architecture.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/block.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/comment.hh
A Ghidra/Features/Decompiler/src/decompile/cpp/compression.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/compression.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/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
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/ifacedecomp.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/inject_sleigh.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/marshal.hh
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/options.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/pcodeparse.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/pcodeparse.y
M Ghidra/Features/Decompiler/src/decompile/cpp/semantics.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/semantics.hh
A Ghidra/Features/Decompiler/src/decompile/cpp/slaformat.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/slaformat.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleighbase.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleighbase.hh
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/slghpatexpress.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/slghpattern.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/slghpattern.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.l
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/space.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/unittests/testfuncproto.cc
M Ghidra/Features/Decompiler/src/decompile/unittests/testmarshal.cc
A Ghidra/Features/Decompiler/src/decompile/zlib/README.txt
A Ghidra/Features/Decompiler/src/decompile/zlib/adler32.c
A Ghidra/Features/Decompiler/src/decompile/zlib/deflate.c
A Ghidra/Features/Decompiler/src/decompile/zlib/deflate.h
A Ghidra/Features/Decompiler/src/decompile/zlib/gzguts.h
A Ghidra/Features/Decompiler/src/decompile/zlib/inffast.c
A Ghidra/Features/Decompiler/src/decompile/zlib/inffast.h
A Ghidra/Features/Decompiler/src/decompile/zlib/inffixed.h
A Ghidra/Features/Decompiler/src/decompile/zlib/inflate.c
A Ghidra/Features/Decompiler/src/decompile/zlib/inflate.h
A Ghidra/Features/Decompiler/src/decompile/zlib/inftrees.c
A Ghidra/Features/Decompiler/src/decompile/zlib/inftrees.h
A Ghidra/Features/Decompiler/src/decompile/zlib/trees.c
A Ghidra/Features/Decompiler/src/decompile/zlib/trees.h
A Ghidra/Features/Decompiler/src/decompile/zlib/zconf.h
A Ghidra/Features/Decompiler/src/decompile/zlib/zlib.h
A Ghidra/Features/Decompiler/src/decompile/zlib/zutil.c
A Ghidra/Features/Decompiler/src/decompile/zlib/zutil.h
M Ghidra/Processors/68000/data/languages/68000.ldefs
M Ghidra/Processors/AARCH64/certification.manifest
M Ghidra/Processors/AARCH64/data/languages/AARCH64.ldefs
M Ghidra/Processors/AARCH64/data/languages/AARCH64.opinion
A Ghidra/Processors/AARCH64/data/languages/AARCH64_swift.cspec
M Ghidra/Processors/AARCH64/data/languages/AppleSilicon.ldefs
M Ghidra/Processors/ARM/data/languages/ARM.ldefs
M Ghidra/Processors/Loongarch/data/languages/loongarch.ldefs
M Ghidra/Processors/MIPS/data/languages/mips.ldefs
M Ghidra/Processors/PA-RISC/data/languages/pa-risc.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc.ldefs
M Ghidra/Processors/RISCV/data/languages/riscv.ldefs
M Ghidra/Processors/Sparc/data/languages/SparcV9.ldefs
M Ghidra/Processors/SuperH4/data/languages/SuperH4.ldefs
M Ghidra/Processors/Xtensa/data/languages/xtensa.ldefs
M Ghidra/Processors/x86/certification.manifest
A 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
```
Bump Ghidra HEAD commit 6d6d0317e
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.cc
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/type.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
D Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationConstants.java
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java
A Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationType.java
D Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationConstants.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationContext.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationHandler.java
A Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationType.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ElfArmRelocationFixupHandler.java
D Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/AVR8_ElfRelocationConstants.java
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR32_ElfRelocationHandler.java
R073 Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/AVR32_ElfRelocationConstants.java Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR32_ElfRelocationType.java
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR8_ElfRelocationHandler.java
A Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR8_ElfRelocationType.java
D Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationConstants.java
M Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationHandler.java
A Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationType.java
D Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationConstants.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationContext.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationHandler.java
A Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationType.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PIC30_ElfRelocationContext.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PIC30_ElfRelocationHandler.java
A Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PIC30_ElfRelocationType.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/extend/PowerPC64_ElfExtension.java
D Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationConstants.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationHandler.java
A Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationType.java
D Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationConstants.java
A Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationContext.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationHandler.java
A Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationType.java
D Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationConstants.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationContext.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationHandler.java
A Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationType.java
D Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationConstants.java
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationHandler.java
A Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationType.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/ElfSH4RelocationFixupHandler.java
D Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationConstants.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationHandler.java
A Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationType.java
D Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430X_ElfRelocationConstants.java
M Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430X_ElfRelocationHandler.java
A Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430X_ElfRelocationType.java
M Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430_ElfRelocationHandler.java
R050 Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430_ElfRelocationConstants.java Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430_ElfRelocationType.java
D Ghidra/Processors/Xtensa/src/main/java/ghidra/app/util/bin/format/elf/relocation/Xtensa_ElfRelocationConstants.java
M Ghidra/Processors/Xtensa/src/main/java/ghidra/app/util/bin/format/elf/relocation/Xtensa_ElfRelocationHandler.java
A Ghidra/Processors/Xtensa/src/main/java/ghidra/app/util/bin/format/elf/relocation/Xtensa_ElfRelocationType.java
D Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/ElfeBPFRelocationFixupHandler.java
M Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/eBPF_ElfRelocationHandler.java
R055 Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/eBPF_ElfRelocationConstants.java Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/eBPF_ElfRelocationType.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/Elfx86_32bitRelocationFixupHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/Elfx86_64bitRelocationFixupHandler.java
D Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationConstants.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationHandler.java
A Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationType.java
D Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationConstants.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationContext.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationHandler.java
A Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationType.java
```
Co-authored-by: pgoodman <43664+pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 74d52deab
Changed files:
```
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.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.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/switchreturn.xml
M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc
M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc
M Ghidra/Processors/MC6800/data/languages/6x09.sinc
M Ghidra/Processors/Xtensa/data/languages/xtensa.ldefs
M Ghidra/Processors/Xtensa/data/languages/xtensaInstructions.sinc
M Ghidra/Processors/Z80/data/languages/z80.slaspec
```
Co-authored-by: pgoodman <43664+pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit e73d2088e
Changed files:
```
M Ghidra/Processors/PowerPC/data/languages/ppc.ldefs
M Ghidra/Processors/PowerPC/data/languages/ppc_vle.sinc
M Ghidra/Processors/tricore/data/languages/tc176x.pspec
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationContext.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 85d276bce
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/condexe.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/condexe.hh
M Ghidra/Processors/Loongarch/data/languages/loongarch32_instructions.sinc
M Ghidra/Processors/Loongarch/data/languages/loongarch_main.sinc
M Ghidra/Processors/PowerPC/certification.manifest
M Ghidra/Processors/PowerPC/data/languages/4xx.sinc
A Ghidra/Processors/PowerPC/data/languages/mulhwInstructions.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc.ldefs
M Ghidra/Processors/PowerPC/data/languages/ppc_instructions.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc
M Ghidra/Processors/TI_MSP430/build.gradle
M Ghidra/Processors/TI_MSP430/data/languages/TI430X.sinc
M Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430.ldefs
M Ghidra/Processors/TI_MSP430/data/languages/ti_msp430.opinion
A Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/extend/MSP430_ElfExtension.java
A Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430X_ElfRelocationConstants.java
A Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430X_ElfRelocationHandler.java
A Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430_ElfRelocationConstants.java
A Ghidra/Processors/TI_MSP430/src/main/java/ghidra/app/util/bin/format/elf/relocation/MSP430_ElfRelocationHandler.java
A Ghidra/Processors/TI_MSP430/src/test.processors/java/ghidra/test/processors/MSP430X_O0_EmulatorTest.java
A Ghidra/Processors/TI_MSP430/src/test.processors/java/ghidra/test/processors/MSP430X_O3_EmulatorTest.java
A Ghidra/Processors/TI_MSP430/src/test.processors/java/ghidra/test/processors/MSP430_O0_EmulatorTest.java
A Ghidra/Processors/TI_MSP430/src/test.processors/java/ghidra/test/processors/MSP430_O3_EmulatorTest.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 3410dc1ad
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.hh
M Ghidra/Processors/HCS12/data/languages/HCS_HC12.sinc
M Ghidra/Processors/x86/data/languages/x86-64-golang.register.info
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 61f84adc3
Changed files:
```
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/extend/MIPS_ElfExtension.java
M Ghidra/Processors/PowerPC/data/languages/PowerPC.opinion
A Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/coff/relocation/PowerPC_CoffRelocationHandler.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit fa8eff4d3
Changed files:
```
M Ghidra/Processors/HCS08/certification.manifest
M Ghidra/Processors/HCS08/data/languages/HC05-M68HC05TB.pspec
A Ghidra/Processors/HCS08/data/languages/HC05.cspec
M Ghidra/Processors/HCS08/data/languages/HC05.ldefs
M Ghidra/Processors/HCS08/data/languages/HC05.pspec
M Ghidra/Processors/HCS08/data/languages/HCS08.cspec
M Ghidra/Processors/HCS08/data/languages/HCS_HC.sinc
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
This breaking change only affects header files from upstream Ghidra repository.
Instead of `#include <sleigh/header.hh>`, it will now be
`#include <ghidra/header.hh>` for headers from upstream.
---------
Co-authored-by: Alex Cameron <asc@tetsuo.sh>
Bump Ghidra HEAD commit f7013bdfa
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile
A Ghidra/Features/Decompiler/src/decompile/cpp/analyzesigs.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/analyzesigs.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.y
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/signature.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/signature.hh
A Ghidra/Features/Decompiler/src/decompile/cpp/signature_ghidra.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/signature_ghidra.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
M Ghidra/Processors/Atmel/data/languages/avr8.sinc
M Ghidra/Processors/Atmel/src/test.processors/java/ghidra/test/processors/AVR8_31_GCC_O0_EmulatorTest.java
M Ghidra/Processors/Atmel/src/test.processors/java/ghidra/test/processors/AVR8_31_GCC_O3_EmulatorTest.java
M Ghidra/Processors/Atmel/src/test.processors/java/ghidra/test/processors/AVR8_51_GCC_O0_EmulatorTest.java
M Ghidra/Processors/Atmel/src/test.processors/java/ghidra/test/processors/AVR8_51_GCC_O3_EmulatorTest.java
M Ghidra/Processors/Atmel/src/test.processors/java/ghidra/test/processors/AVR8_6_GCC_O0_EmulatorTest.java
M Ghidra/Processors/Atmel/src/test.processors/java/ghidra/test/processors/AVR8_6_GCC_O3_EmulatorTest.java
M Ghidra/Processors/Atmel/src/test.processors/java/ghidra/test/processors/AVR8_xmega_GCC_O0_EmulatorTest.java
M Ghidra/Processors/Atmel/src/test.processors/java/ghidra/test/processors/AVR8_xmega_GCC_O3_EmulatorTest.java
A Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationConstants.java
A Ghidra/Processors/Loongarch/src/main/java/ghidra/app/util/bin/format/elf/relocation/Loongarch_ElfRelocationHandler.java
M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc
M Ghidra/Processors/PIC/data/languages/PIC24.sinc
M Ghidra/Processors/PowerPC/certification.manifest
A Ghidra/Processors/PowerPC/data/languages/SPE_FloatMulAdd.sinc
M Ghidra/Processors/PowerPC/data/languages/Scalar_SPFP.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc.ldefs
A Ghidra/Processors/PowerPC/data/languages/ppc_32_e500mc_be.cspec
A Ghidra/Processors/PowerPC/data/languages/ppc_32_e500mc_be.slaspec
A Ghidra/Processors/PowerPC/data/languages/ppc_32_e500mc_le.cspec
A Ghidra/Processors/PowerPC/data/languages/ppc_32_e500mc_le.slaspec
M Ghidra/Processors/PowerPC/data/languages/ppc_64_isa_vle_be.slaspec
M Ghidra/Processors/PowerPC/data/languages/ppc_instructions.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_vle.sinc
M Ghidra/Processors/TI_MSP430/certification.manifest
M Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430.cspec
A Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430.dwarf
M Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430.ldefs
M Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430X.cspec
A Ghidra/Processors/TI_MSP430/data/languages/TI_MSP430X.dwarf
M Ghidra/Processors/x86/data/extensions/rust/unix/cc.xml
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationContext.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationHandler.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 6242fda15
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/double.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/double.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/options.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/options.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/type.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/ClassFileAnalysisState.java
M Ghidra/Processors/MIPS/data/languages/mips.ldefs
M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc
M Ghidra/Processors/RISCV/data/languages/riscv.custom.sinc
M Ghidra/Processors/SuperH/data/languages/superh.sinc
M Ghidra/Processors/x86/certification.manifest
A Ghidra/Processors/x86/data/extensions/rust/unix/cc.xml
A Ghidra/Processors/x86/data/extensions/rust/unix/probe_fixup.xml
A Ghidra/Processors/x86/data/extensions/rust/unix/try_fixup.xml
A Ghidra/Processors/x86/data/extensions/rust/windows/probe_fixup.xml
A Ghidra/Processors/x86/data/extensions/rust/windows/try_fixup.xml
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/x86-64-gcc.cspec
M Ghidra/Processors/x86/data/languages/x86-64-win.cspec
M Ghidra/Processors/x86/data/languages/x86.opinion
M Ghidra/Processors/x86/data/languages/x86gcc.cspec
M Ghidra/Processors/x86/data/languages/x86win.cspec
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit c225fac12
Changed files:
```
M Ghidra/Processors/Loongarch/data/languages/ilp32f.cspec
M Ghidra/Processors/Loongarch/data/languages/loongarch.ldefs
M Ghidra/Processors/MIPS/data/languages/mips.sinc
A Ghidra/Processors/Xtensa/Module.manifest
A Ghidra/Processors/Xtensa/build.gradle
A Ghidra/Processors/Xtensa/certification.manifest
A Ghidra/Processors/Xtensa/data/languages/cust.sinc
A Ghidra/Processors/Xtensa/data/languages/flix.sinc
A Ghidra/Processors/Xtensa/data/languages/xtensa.cspec
A Ghidra/Processors/Xtensa/data/languages/xtensa.dwarf
A Ghidra/Processors/Xtensa/data/languages/xtensa.ldefs
A Ghidra/Processors/Xtensa/data/languages/xtensa.opinion
A Ghidra/Processors/Xtensa/data/languages/xtensa.pspec
A Ghidra/Processors/Xtensa/data/languages/xtensaArch.sinc
A Ghidra/Processors/Xtensa/data/languages/xtensaInstructions.sinc
A Ghidra/Processors/Xtensa/data/languages/xtensaMain.sinc
A Ghidra/Processors/Xtensa/data/languages/xtensa_be.slaspec
A Ghidra/Processors/Xtensa/data/languages/xtensa_depbits.sinc
A Ghidra/Processors/Xtensa/data/languages/xtensa_le.slaspec
A Ghidra/Processors/Xtensa/data/manuals/xtensa.idx
A Ghidra/Processors/Xtensa/data/patterns/patternconstraints.xml
A Ghidra/Processors/Xtensa/data/patterns/xtensa_patterns.xml
A Ghidra/Processors/Xtensa/src/main/java/ghidra/app/util/bin/format/elf/relocation/Xtensa_ElfRelocationConstants.java
A Ghidra/Processors/Xtensa/src/main/java/ghidra/app/util/bin/format/elf/relocation/Xtensa_ElfRelocationHandler.java
A Ghidra/Processors/Xtensa/src/main/java/ghidra/program/emulation/XtensaEmulateInstructionStateModifier.java
A Ghidra/Processors/Xtensa/src/test.processors/java/ghidra/test/processors/Xtensa_O0_EmulatorTest.java
A Ghidra/Processors/Xtensa/src/test.processors/java/ghidra/test/processors/Xtensa_O3_EmulatorTest.java
```
Co-authored-by: ekilmer <ekilmer@users.noreply.github.com>
* Bump Ghidra HEAD commit eaf6f0e64
* Add new files to CMake
```
M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.cc
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/marshal.hh
A Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.cc
A Ghidra/Features/Decompiler/src/decompile/cpp/modelrules.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/space.cc
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
A Ghidra/Features/Decompiler/src/decompile/datatests/retspecial.xml
M Ghidra/Features/Decompiler/src/decompile/unittests/testfuncproto.cc
A Ghidra/Features/Decompiler/src/decompile/unittests/testparamstore.cc
M Ghidra/Processors/AARCH64/data/languages/AARCH64.cspec
A Ghidra/Processors/Loongarch/Module.manifest
A Ghidra/Processors/Loongarch/build.gradle
A Ghidra/Processors/Loongarch/certification.manifest
A Ghidra/Processors/Loongarch/data/languages/ilp32d.cspec
A Ghidra/Processors/Loongarch/data/languages/ilp32f.cspec
A Ghidra/Processors/Loongarch/data/languages/lasx.sinc
A Ghidra/Processors/Loongarch/data/languages/lbt.sinc
A Ghidra/Processors/Loongarch/data/languages/loongarch.ldefs
A Ghidra/Processors/Loongarch/data/languages/loongarch.opinion
A Ghidra/Processors/Loongarch/data/languages/loongarch32.pspec
A Ghidra/Processors/Loongarch/data/languages/loongarch32_f32.slaspec
A Ghidra/Processors/Loongarch/data/languages/loongarch32_f64.slaspec
A Ghidra/Processors/Loongarch/data/languages/loongarch32_instructions.sinc
A Ghidra/Processors/Loongarch/data/languages/loongarch64.pspec
A Ghidra/Processors/Loongarch/data/languages/loongarch64_f32.slaspec
A Ghidra/Processors/Loongarch/data/languages/loongarch64_f64.slaspec
A Ghidra/Processors/Loongarch/data/languages/loongarch64_instructions.sinc
A Ghidra/Processors/Loongarch/data/languages/loongarch_double.sinc
A Ghidra/Processors/Loongarch/data/languages/loongarch_float.sinc
A Ghidra/Processors/Loongarch/data/languages/loongarch_main.sinc
A Ghidra/Processors/Loongarch/data/languages/lp64d.cspec
A Ghidra/Processors/Loongarch/data/languages/lp64f.cspec
A Ghidra/Processors/Loongarch/data/languages/lsx.sinc
A Ghidra/Processors/Loongarch/data/languages/lvz.sinc
A Ghidra/Processors/Loongarch/data/manuals/loongarch.idx
A Ghidra/Processors/Loongarch/data/patterns/loongarch_patterns.xml
A Ghidra/Processors/Loongarch/data/patterns/patternconstraints.xml
A Ghidra/Processors/Loongarch/src/main/java/ghidra/app/plugin/core/analysis/LoongsonAnalyzer.java
A Ghidra/Processors/Loongarch/src/test.processors/java/ghidra/test/processors/Loongarch64_O0_EmulatorTest.java
A Ghidra/Processors/Loongarch/src/test.processors/java/ghidra/test/processors/Loongarch64_O3_EmulatorTest.java
A Ghidra/Processors/Loongarch/src/test.processors/java/ghidra/test/processors/Loongarch64f_O0_EmulatorTest.java
A Ghidra/Processors/Loongarch/src/test.processors/java/ghidra/test/processors/Loongarch64f_O3_EmulatorTest.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationHandler.java
```
---------
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
Bump Ghidra HEAD commit ddf36db43
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/AARCH64/data/languages/AARCH64base.sinc
M Ghidra/Processors/Atmel/data/languages/avr32a_bit_operations.sinc
M Ghidra/Processors/HCS12/data/languages/XGATE.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc.dwarf
M Ghidra/Processors/tricore/data/languages/tricore.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 134806cbe
Changed files:
```
M Ghidra/Processors/CR16/Module.manifest
M Ghidra/Processors/x86/certification.manifest
M Ghidra/Processors/x86/data/languages/ia.sinc
A Ghidra/Processors/x86/data/languages/old/x86RealV2.lang
A Ghidra/Processors/x86/data/languages/old/x86RealV2.trans
A Ghidra/Processors/x86/data/languages/old/x86V2.lang
A Ghidra/Processors/x86/data/languages/old/x86V2.trans
A Ghidra/Processors/x86/data/languages/old/x86_64bit_compat32_v2.lang
A Ghidra/Processors/x86/data/languages/old/x86_64bit_compat32_v2.trans
A Ghidra/Processors/x86/data/languages/old/x86_64bit_v2.lang
A Ghidra/Processors/x86/data/languages/old/x86_64bit_v2.trans
A Ghidra/Processors/x86/data/languages/old/x86_ProtV2.lang
A Ghidra/Processors/x86/data/languages/old/x86_ProtV2.trans
A Ghidra/Processors/x86/data/languages/old/x86smmV2.lang
A Ghidra/Processors/x86/data/languages/old/x86smmV2.trans
M Ghidra/Processors/x86/data/languages/x86.ldefs
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 54e0ab1a3
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/block.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/double.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
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/grammar.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.y
M Ghidra/Features/Decompiler/src/decompile/cpp/options.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/options.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.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/typeop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/unionresolve.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.cc
M Ghidra/Features/Decompiler/src/decompile/datatests/impliedfield.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/longdouble.xml
M Ghidra/Features/Decompiler/src/decompile/datatests/nestedoffset.xml
M Ghidra/Features/Decompiler/src/decompile/datatests/offsetarray.xml
M Ghidra/Features/Decompiler/src/decompile/datatests/packstructaccess.xml
M Ghidra/Processors/x86/data/languages/x86gcc.cspec
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 650808862
Changed files:
```
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/printc.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.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/typeop.cc
A Ghidra/Features/Decompiler/src/decompile/datatests/ptrtoarray.xml
M Ghidra/Processors/68000/src/main/java/ghidra/app/plugin/core/analysis/Motorola68KAnalyzer.java
M Ghidra/Processors/AARCH64/data/languages/AARCH64.cspec
M Ghidra/Processors/AARCH64/data/languages/AARCH64.pspec
M Ghidra/Processors/AARCH64/data/languages/AARCH64_ilp32.cspec
M Ghidra/Processors/ARM/src/main/java/ghidra/app/plugin/core/analysis/ArmAnalyzer.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/plugin/core/analysis/MipsAddressAnalyzer.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/plugin/core/analysis/Pic16Analyzer.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/plugin/core/analysis/PowerPCAddressAnalyzer.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/plugin/core/analysis/RISCVAddressAnalyzer.java
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/plugin/core/analysis/SparcAnalyzer.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/plugin/core/analysis/SH4AddressAnalyzer.java
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/lockable.sinc
M Ghidra/Processors/x86/src/main/java/ghidra/app/plugin/core/analysis/X86Analyzer.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 4561e8335
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/Doxyfile
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.hh
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/cover.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/database.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/options.cc
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/sleigh.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.cc
A Ghidra/Features/Decompiler/src/decompile/datatests/boolless.xml
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit d7d6b44e2
Changed files:
```
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/double.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_varnode.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh
M Ghidra/Processors/ARM/certification.manifest
M Ghidra/Processors/ARM/data/languages/ARMv8.sinc
M Ghidra/Processors/ARM/data/patterns/ARM_BE_patterns.xml
M Ghidra/Processors/ARM/data/patterns/ARM_LE_patterns.xml
M Ghidra/Processors/Atmel/data/languages/avr8.sinc
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationContext.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationHandler.java
M Ghidra/Processors/x86/data/languages/x86win.cspec
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit ba5fcdf4e
Changed files:
```
M Ghidra/Processors/MIPS/data/languages/mips.ldefs
A Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationContext.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationHandler.java
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/x86-64-gcc.cspec
M Ghidra/Processors/x86/data/languages/x86gcc.cspec
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 72fd30080
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/op.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/xml.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/xml.y
M Ghidra/Processors/AARCH64/data/languages/AARCH64neon.sinc
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 26d4bd910
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/options.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/options.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/nan.xml
M Ghidra/Processors/MC6800/data/languages/6x09_push.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit b0e0c7372
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_arch.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/prettyprint.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.hh
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
* Bump Ghidra HEAD commit bece81176
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/cover.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/cover.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/testfunction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/testfunction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/varcross.xml
M Ghidra/Features/Decompiler/src/decompile/unittests/testcirclerange.cc
M Ghidra/Processors/AARCH64/data/languages/AARCH64.opinion
M Ghidra/Processors/MC6800/data/languages/6x09.sinc
```
* Fix UBSAN patch
* Update stable UBSAN patch
---------
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Co-authored-by: Alex Cameron <asc@tetsuo.sh>
The issue was actually with the UBSAN patch to the `sign_extend` function and not the upstream commit itself. When NationalSecurityAgency/ghidra@3c08b44 landed, I had to regenerate the UBSAN patch but I botched the part of the patch that modifies `sign_extend` and introduced this bug.
Now that the UBSAN patch no longer touches this function, I should just get rid of the new patch and things should "just work".
Bump Ghidra HEAD commit befa5aa77
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/stackreturn.xml
M Ghidra/Processors/MC6800/data/languages/6x09.sinc
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit d932173a2
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/subflow.hh
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/ARM/src/main/java/ghidra/app/plugin/core/analysis/ArmAnalyzer.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/plugin/core/analysis/PowerPCAddressAnalyzer.java
M Ghidra/Processors/x86/data/languages/x86.opinion
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationContext.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 73e80aa1f
Changed files:
```
M Ghidra/Processors/MC6800/data/languages/6x09.sinc
M Ghidra/Processors/x86/certification.manifest
A 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.ldefs
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 571963265
Changed files:
```
M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc
M Ghidra/Processors/ARM/data/languages/ARMneon.sinc
M Ghidra/Processors/PIC/data/languages/PIC24.sinc
M Ghidra/Processors/x86/data/languages/x86-32-golang.cspec
M Ghidra/Processors/x86/data/languages/x86-64-golang.cspec
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 8cc3a9443
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/double.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/marshal.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/options.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/options.hh
M Ghidra/Features/Decompiler/src/decompile/datatests/partialunion.xml
M Ghidra/Processors/6502/data/languages/6502.slaspec
M Ghidra/Processors/68000/certification.manifest
M Ghidra/Processors/68000/data/languages/68000.cspec
M Ghidra/Processors/68000/data/languages/68000.ldefs
M Ghidra/Processors/68000/data/languages/68000.sinc
A Ghidra/Processors/68000/data/languages/68000_register.cspec
A Ghidra/Processors/68000/data/patterns/68000_patterns.xml
A Ghidra/Processors/68000/data/patterns/patternconstraints.xml
M Ghidra/Processors/8048/data/languages/8048.pspec
M Ghidra/Processors/8048/data/languages/8048.slaspec
M Ghidra/Processors/AARCH64/data/languages/AARCH64instructions.sinc
M Ghidra/Processors/x86/data/languages/x86win.cspec
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
* Bump Ghidra HEAD commit 0d71657d0
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/address.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/address.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/database.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/float.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_op.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/opbehavior.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/slghpatexpress.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/slghpatexpress.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/space.hh
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
M Ghidra/Features/Decompiler/src/decompile/cpp/unionresolve.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.cc
M Ghidra/Processors/68000/data/manuals/68000.idx
M Ghidra/Processors/PowerPC/data/languages/ppc_32_be_Mac.cspec
M Ghidra/Processors/PowerPC/data/languages/ppc_32_e500_be.cspec
M Ghidra/Processors/PowerPC/data/languages/ppc_32_e500_le.cspec
M Ghidra/Processors/PowerPC/data/manuals/PowerISA.idx
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/x86-64-golang.register.info
```
* patches: Regenerate UBSAN fixes patch
* NOTE: Sleigh tests have begun failing upstream. We need to figure this out and file an issue to Ghidra.
---------
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Co-authored-by: Alex Cameron <asc@tetsuo.sh>
Bump Ghidra HEAD commit 3e9419d4d
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/callgraph.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/database.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/database.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/database_ghidra.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.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/op.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/printjava.cc
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
A Ghidra/Features/Decompiler/src/decompile/datatests/switchind.xml
M Ghidra/Processors/AARCH64/data/languages/AARCH64_win.cspec
M Ghidra/Processors/x86/data/languages/x86-64-win.cspec
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 894bd3cfc
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/data/languages/ppc_a2.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_embedded.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_instructions.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_isa.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_vle.sinc
M Ghidra/Processors/PowerPC/data/languages/quicciii.sinc
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
* sleigh-lift, support: Qualify names with `ghidra` namespace
* Bump Ghidra HEAD commit 4b99900d2
Changed files:
```
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_instructions.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
```
Bump Ghidra HEAD commit b3616a683
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/type.cc
M Ghidra/Processors/68000/src/main/java/ghidra/app/plugin/core/analysis/Motorola68KAnalyzer.java
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/plugin/core/analysis/AARCH64PltThunkAnalyzer.java
M Ghidra/Processors/ARM/certification.manifest
M Ghidra/Processors/ARM/src/main/java/ghidra/app/plugin/core/analysis/ArmAnalyzer.java
A Ghidra/Processors/BPF/Module.manifest
A Ghidra/Processors/BPF/build.gradle
A Ghidra/Processors/BPF/certification.manifest
A Ghidra/Processors/BPF/data/languages/BPF.cspec
A Ghidra/Processors/BPF/data/languages/BPF.ldefs
A Ghidra/Processors/BPF/data/languages/BPF.pspec
A Ghidra/Processors/BPF/data/languages/BPF.sinc
A Ghidra/Processors/BPF/data/languages/BPF_le.slaspec
M Ghidra/Processors/JVM/resources/ArrayTests.java
M Ghidra/Processors/JVM/resources/GetPutFieldTest.java
M Ghidra/Processors/JVM/resources/GetPutStaticTest.java
M Ghidra/Processors/JVM/resources/NewTests.java
M Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/analyzers/JavaAnalyzer.java
M Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/analyzers/JvmSwitchAnalyzer.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/plugin/core/analysis/MipsAddressAnalyzer.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/plugin/core/analysis/MipsPreAnalyzer.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/extend/MIPS_ElfExtension.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/plugin/core/analysis/Pic16Analyzer.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/plugin/core/analysis/Pic17c7xxAnalyzer.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/plugin/core/analysis/Pic18Analyzer.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/plugin/core/analysis/PPC64CallStubAnalyzer.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/plugin/core/analysis/PowerPCAddressAnalyzer.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/extend/PowerPC64_ElfExtension.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/extend/PowerPC_ElfExtension.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/plugin/core/analysis/RISCVAddressAnalyzer.java
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/plugin/core/analysis/SparcAnalyzer.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/plugin/core/analysis/SH4AddressAnalyzer.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/plugin/core/analysis/SH4EarlyAddressAnalyzer.java
A Ghidra/Processors/eBPF/Module.manifest
A Ghidra/Processors/eBPF/build.gradle
A Ghidra/Processors/eBPF/certification.manifest
A Ghidra/Processors/eBPF/data/languages/eBPF.cspec
A Ghidra/Processors/eBPF/data/languages/eBPF.dwarf
A Ghidra/Processors/eBPF/data/languages/eBPF.ldefs
A Ghidra/Processors/eBPF/data/languages/eBPF.opinion
A Ghidra/Processors/eBPF/data/languages/eBPF.pspec
A Ghidra/Processors/eBPF/data/languages/eBPF.sinc
A Ghidra/Processors/eBPF/data/languages/eBPF_le.slaspec
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/plugin/core/analysis/eBPFAnalyzer.java
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/extend/eBPF_ElfExtension.java
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/ElfeBPFRelocationFixupHandler.java
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/eBPF_ElfRelocationConstants.java
A Ghidra/Processors/eBPF/src/main/java/ghidra/app/util/bin/format/elf/relocation/eBPF_ElfRelocationHandler.java
M Ghidra/Processors/x86/certification.manifest
M Ghidra/Processors/x86/data/languages/ia.sinc
A Ghidra/Processors/x86/data/languages/x86-32-golang.cspec
A Ghidra/Processors/x86/data/languages/x86-32-golang.register.info
A Ghidra/Processors/x86/data/languages/x86-64-golang.cspec
A Ghidra/Processors/x86/data/languages/x86-64-golang.register.info
M Ghidra/Processors/x86/data/languages/x86.ldefs
M Ghidra/Processors/x86/data/languages/x86.opinion
M Ghidra/Processors/x86/src/main/java/ghidra/app/plugin/core/analysis/X86Analyzer.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 80ccdadeb
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/database.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.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/marshal.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/merge.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/options.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/options.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.hh
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/typeop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/unionresolve.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/varmap.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/partialsplit.xml
M Ghidra/Processors/68000/data/languages/68000.cspec
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/plugin/core/analysis/ArmAnalyzer.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationHandler.java
M Ghidra/Processors/HCS12/data/languages/HCS_HC12.sinc
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationHandler.java
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationHandler.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationHandler.java
M Ghidra/Processors/x86/certification.manifest
M Ghidra/Processors/x86/data/languages/avx.sinc
M Ghidra/Processors/x86/data/languages/avx_manual.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
A Ghidra/Processors/x86/data/languages/lockable.sinc
M Ghidra/Processors/x86/data/languages/x86-64-gcc.cspec
M Ghidra/Processors/x86/data/languages/x86-64.slaspec
M Ghidra/Processors/x86/data/languages/x86.ldefs
M Ghidra/Processors/x86/data/languages/x86.slaspec
M Ghidra/Processors/x86/data/languages/x86borland.cspec
M Ghidra/Processors/x86/data/languages/x86delphi.cspec
M Ghidra/Processors/x86/data/languages/x86gcc.cspec
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationHandler.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit 7891d2611
Changed files:
```
M Ghidra/Processors/AARCH64/data/languages/AARCH64.ldefs
M Ghidra/Processors/Atmel/ghidra_scripts/CreateAVR8GDTArchiveScript.java
M Ghidra/Processors/Dalvik/src/main/java/ghidra/dalvik/dex/inject/ConstantPoolDex.java
M Ghidra/Processors/JVM/ghidra_scripts/CreateJNIGDTArchivesScript.java
M Ghidra/Processors/JVM/src/main/java/ghidra/app/util/pcodeInject/ConstantPoolJava.java
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Bump Ghidra HEAD commit ca9a56b5f
Changed files:
```
M Ghidra/Processors/ARM/data/languages/ARM.cspec
M Ghidra/Processors/MIPS/data/languages/mips32be.cspec
M Ghidra/Processors/MIPS/data/languages/mips32le.cspec
A Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/macho/relocation/PowerPC_MachoRelocationConstants.java
A Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/macho/relocation/PowerPC_MachoRelocationHandler.java
M Ghidra/Processors/x86/data/languages/x86-64-gcc.cspec
M Ghidra/Processors/x86/data/languages/x86.opinion
M Ghidra/Processors/x86/data/languages/x86gcc.cspec
```
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
* Bump Ghidra HEAD commit 02e547dac
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/Makefile
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/grammar.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/grammar.y
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/opbehavior.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/opcodes.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/opcodes.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/pcodeparse.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/pcodeparse.y
M Ghidra/Features/Decompiler/src/decompile/cpp/printc.hh
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/ruleaction.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc
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/slghscan.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/slghscan.l
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/unionresolve.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/xml.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/xml.y
A Ghidra/Features/Decompiler/src/decompile/datatests/lzcount.xml
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/68000/src/main/java/ghidra/program/emulation/m68kEmulateInstructionStateModifier.java
M Ghidra/Processors/AARCH64/data/languages/AARCH64base.sinc
M Ghidra/Processors/AARCH64/data/languages/AARCH64instructions.sinc
M Ghidra/Processors/ARM/data/languages/ARM.sinc
M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc
M Ghidra/Processors/ARM/data/languages/ARMinstructions.sinc
M Ghidra/Processors/ARM/src/main/java/ghidra/program/emulation/ARMEmulateInstructionStateModifier.java
M Ghidra/Processors/MIPS/data/languages/mips.sinc
M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc
M Ghidra/Processors/MIPS/data/languages/mips64Instructions.sinc
M Ghidra/Processors/MIPS/data/languages/mipsmicro.sinc
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/extend/MIPS_ElfExtension.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_Elf64Relocation.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationConstants.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationContext.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationHandler.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/program/emulation/MIPSEmulateInstructionStateModifier.java
M Ghidra/Processors/PowerPC/data/languages/ppc_common.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_instructions.sinc
M Ghidra/Processors/PowerPC/src/main/java/ghidra/program/emulation/PPCEmulateInstructionStateModifier.java
M Ghidra/Processors/tricore/data/languages/tricore.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/data/languages/lzcnt.sinc
```
* Regenerate patches
---------
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
* Bump Ghidra HEAD commit acb07dd53
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.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/merge.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.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/variable.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/varmap.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/varnode.cc
A Ghidra/Features/Decompiler/src/decompile/datatests/piecestruct.xml
M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc
M Ghidra/Processors/RISCV/data/languages/riscv.ldefs
M Ghidra/Processors/RISCV/data/languages/riscv.rv32i.sinc
```
Regenerate RemUsing patch
---------
Co-authored-by: Alex Cameron <asc@tetsuo.sh>
* Bump Ghidra HEAD commit a6be09898
* Bump to stable Ghidra 10.2.3
* Add new 'testfuncproto' source file for testing
* Regenerate patches
Better automated refactoring for removal of 'using' declarations in
header files. See https://github.com/ekilmer/remusing_cpp for automated
tool. Some manual fixes are still required, but they are small. Setting
'using namespace std;' in source files is still a manual process due to
edge-cases that are hard to detect.
* Add missing include path for libconfig.h
Only affects 'sleigh_support' library
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
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/block.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/capability.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/error.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/filemanage.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/float.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ifacedecomp.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/inject_ghidra.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/interface.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/jumptable.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/merge.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/opcodes.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/partmap.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/printlanguage.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.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/slghsymbol.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/space.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/space.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/test.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/test.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/testfunction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/testfunction.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/typeop.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
M Ghidra/Features/Decompiler/src/decompile/cpp/xml.hh
A Ghidra/Features/Decompiler/src/decompile/datatests/condconst.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/condmulti.xml
A Ghidra/Features/Decompiler/src/decompile/datatests/retstruct.xml
M Ghidra/Features/Decompiler/src/decompile/unittests/testfloatemu.cc
A Ghidra/Features/Decompiler/src/decompile/unittests/testfuncproto.cc
M Ghidra/Features/Decompiler/src/decompile/unittests/testmarshal.cc
M Ghidra/Processors/6502/data/languages/65c02.slaspec
M Ghidra/Processors/68000/data/languages/68000.sinc
M Ghidra/Processors/AARCH64/certification.manifest
M Ghidra/Processors/AARCH64/data/languages/AARCH64_win.cspec
A Ghidra/Processors/AARCH64/data/patterns/AARCH64_win_patterns.xml
A Ghidra/Processors/AARCH64/data/patterns/prepatternconstraints.xml
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java
M Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/macho/relocation/AARCH64_MachoRelocationHandler.java
M Ghidra/Processors/ARM/data/languages/ARM.ldefs
M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc
M Ghidra/Processors/ARM/data/languages/ARMneon.sinc
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationContext.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/elf/relocation/ARM_ElfRelocationHandler.java
M Ghidra/Processors/ARM/src/main/java/ghidra/app/util/bin/format/macho/relocation/ARM_MachoRelocationHandler.java
M Ghidra/Processors/Atmel/data/languages/avr32a.slaspec
M Ghidra/Processors/Atmel/data/languages/avr32a_dsp_operations.sinc
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR32_ElfRelocationHandler.java
M Ghidra/Processors/Atmel/src/main/java/ghidra/app/util/bin/format/elf/relocation/AVR8_ElfRelocationHandler.java
M Ghidra/Processors/MC6800/data/languages/6x09.sinc
M Ghidra/Processors/MIPS/certification.manifest
M Ghidra/Processors/MIPS/data/languages/mips.sinc
M Ghidra/Processors/MIPS/data/languages/mips32Instructions.sinc
M Ghidra/Processors/MIPS/data/languages/mips32R6be.slaspec
M Ghidra/Processors/MIPS/data/languages/mips32R6le.slaspec
M Ghidra/Processors/MIPS/data/languages/mips32_fp64.cspec
M Ghidra/Processors/MIPS/data/languages/mips32be.cspec
M Ghidra/Processors/MIPS/data/languages/mips32be.slaspec
M Ghidra/Processors/MIPS/data/languages/mips32be_eabi.cspec
M Ghidra/Processors/MIPS/data/languages/mips32le.cspec
M Ghidra/Processors/MIPS/data/languages/mips32le.slaspec
M Ghidra/Processors/MIPS/data/languages/mips32le_eabi.cspec
M Ghidra/Processors/MIPS/data/languages/mips64.cspec
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.slaspec
M Ghidra/Processors/MIPS/data/languages/mips64le.slaspec
A Ghidra/Processors/MIPS/data/languages/mips_dsp.sinc
A Ghidra/Processors/MIPS/data/languages/mips_mt.sinc
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/plugin/core/analysis/MipsAddressAnalyzer.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/extend/MIPS_ElfExtension.java
A Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationContext.java
M Ghidra/Processors/MIPS/src/main/java/ghidra/app/util/bin/format/elf/relocation/MIPS_ElfRelocationHandler.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PIC30_ElfRelocationContext.java
M Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PIC30_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/extend/PowerPC_ElfExtension.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC64_ElfRelocationHandler.java
M Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/relocation/PowerPC_ElfRelocationHandler.java
M Ghidra/Processors/RISCV/data/languages/riscv32-fp.cspec
M Ghidra/Processors/RISCV/data/languages/riscv32.cspec
M Ghidra/Processors/RISCV/data/languages/riscv64-fp.cspec
M Ghidra/Processors/RISCV/data/languages/riscv64.cspec
M Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationHandler.java
M Ghidra/Processors/Sparc/data/languages/SparcV9.sinc
M Ghidra/Processors/Sparc/src/main/java/ghidra/app/util/bin/format/elf/relocation/SPARC_ElfRelocationHandler.java
M Ghidra/Processors/SuperH4/src/main/java/ghidra/app/util/bin/format/elf/relocation/SH_ElfRelocationHandler.java
M Ghidra/Processors/Toy/certification.manifest
M Ghidra/Processors/Toy/data/languages/toy.pspec
M Ghidra/Processors/tricore/data/languages/tricore.cspec
M Ghidra/Processors/tricore/data/languages/tricore.ldefs
M Ghidra/Processors/tricore/data/languages/tricore.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/coff/relocation/X86_32_CoffRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/coff/relocation/X86_64_CoffRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_32_ElfRelocationHandler.java
A Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationContext.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/elf/relocation/X86_64_ElfRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/macho/relocation/X86_32_MachoRelocationHandler.java
M Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/macho/relocation/X86_64_MachoRelocationHandler.java
```
Changed files:
```
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/dynamic.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.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.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
M Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/slgh_compile.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/test.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/test.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/testfunction.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/testfunction.hh
M Ghidra/Processors/MIPS/src/test.slow/java/ghidra/app/plugin/core/analysis/MipsPreAnalyzerTest.java
M Ghidra/Processors/PowerPC/data/languages/ppc_embedded.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_instructions.sinc
M Ghidra/Processors/V850/data/languages/Instructions/Float.sinc
M Ghidra/Processors/x86/data/languages/ia.sinc
```
* Update patches.
The "Small improvements to C decompiler testing from CLI" PR was merged!
Fix new code to use `std::` prefix
Co-authored-by: pgoodman <pgoodman@users.noreply.github.com>
Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
* Bump Ghidra HEAD commit 552eb9dd6
Changed files:
```
M Ghidra/Features/Decompiler/src/decompile/cpp/architecture.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/database.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/database.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/fspec.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/merge.hh
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/printc.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/ruleaction.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/typeop.cc
M Ghidra/Features/Decompiler/src/decompile/cpp/typeop.hh
M Ghidra/Features/Decompiler/src/decompile/cpp/userop.hh
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/datatests/concat.xml
M Ghidra/Processors/ARM/data/languages/ARMTHUMBinstructions.sinc
M Ghidra/Processors/PowerPC/data/languages/ppc_instructions.sinc
M Ghidra/Processors/Z80/data/languages/z80.slaspec
```
* Regenerate patches
Co-authored-by: Alex Cameron <asc@tetsuo.sh>
Python string split behaves differently than I assumed:
>>> "".split("\n")
['']
returns a list of size 1 but
>>> "".split()
[]
returns size 0 and
>>> "".splitlines()
[]
also returns size 0
* Major CMake refactor
* CI fixes
* Fix CMake errors
* Install graphviz on Windows
* More consistent CMake build types
* Fix compiler defines for Windows
* Fix more bugs
* Add standalone tool building support
* Fix typo
* Update README
* Install sleighLift before trying to smoketest it
* Test coverage preset
The compiler option '-fkeep-inline-functions' originally included with
the coverage build type causes errors with the message "undefined
reference to 'vtable for OpAction*'" for all OpAction subclasses.
This StackOverflow answer might help in resolving this?
https://stackoverflow.com/a/57504289
* Build documentation by default with CI presets
* Use COMPONENT for install commands
This allows for someone to specify which components they want to install
if they only want or need a subset
* Support cross compiling with host system sleigh compiler
* Various fixes found during review
* Move "_WINDOWS" define to CMakeLists.txt file
* Rename ToB 'tools' directory to 'extra-tools'
* Separate projects for sleigh tools
Library is still top-level CMakeLists.txt
More options
* CMake find_package(Git)
* Fix bad merge for patch paths
* Fix missing libconfig.h header install
* Fix issues with installation of headers
* More refactoring
* Refactor sleighexample into its own project/directory
* Refactor specfiles building into separate project/directory
* Check for termios.h header and set define if found
* Update READMEs
* Better consistency with install rules
* Build sleighLift as a standalone project with added source
* More changes to CMake subprojects
* Also add "Specs" component to sleigh installation config
* Try to be better at bootstrapping subprojects (hopefully this doesn't
bite us, but if it does, I'm happy to remove it and say "not
supported")
* Address some code review
* Add project sleigh_tool for tool subdirectory
Could make it easier to build just the tools
* Add help text to name the tool executable name
* Add license notice to CMake files
* Fix/Remove too specific CPack packaging configuration
* Consistent capitalization of Sleigh
Co-authored-by: Alex Cameron <asc@tetsuo.sh>
Errors with Ghidra repo FetchContent when using CMake less than this
version. FetchContent runs the patch step before update and so we lose
the patches, which can cause build errors.
CMake 3.15 can still be used if you specify your own Ghidra repo on the
command line.
Add new source file marshal.cc and header marshal.hh
Big changes for supporting stable and HEAD
Conditional compilation based on whether sleigh is HEAD version
Expose CMake variable to determine if version is HEAD
* CI: Enable Windows testing
* Fix compilation error on Windows
* Remove compiler warnings as errors
* Move tests to the last step to upload Windows binaries
* Add test for find_package testing in Windows
Makes testing it easier for multi-config generators
We should test with default configurations because this is likely what
people will be using when they test the project.
GNU Makefiles generator is also useful to test because it is usually the
simplest (read: least featured) generator and exposes a bug with the way
we have set up our CMake target dependencies when generating Git version
information.
All of our builds are testing separate things and it would be nice to
know if only one combination is troublesome or not. This is hard to
determine if all other builds are canceled when one fails.
# Use oldest supported version for maximum script compatibility
python-version:'3.7'
python-version:'3.10'
- name:Run Update Script
id:head_update
run:|
# Sets some outputs. See next step
python3.7 scripts/update_ghidra_head.py --ci
python3 scripts/update_ghidra_head.py --ci
# Need this to run further Actions on the newly created PR
# See here for more details https://github.com/peter-evans/create-pull-request/blob/28fa4848947e0faa7fa50647691d01477589d5e9/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens
- uses:tibdex/github-app-token@v1
- uses:tibdex/github-app-token@v2
if:steps.head_update.outputs.did_update
id:generate-token
with:
@@ -36,10 +36,27 @@ jobs:
- name:Create PR
if:steps.head_update.outputs.did_update
uses:peter-evans/create-pull-request@v3
uses:peter-evans/create-pull-request@v7
with:
title:Update Ghidra HEAD to commit ${{ steps.head_update.outputs.short_sha }}
commit-message:Bump Ghidra HEAD commit ${{ steps.head_update.outputs.short_sha }}
commit-message:|
Bump Ghidra HEAD commit ${{ steps.head_update.outputs.short_sha }}
[SLEIGH](https://ghidra.re/courses/languages/html/sleigh.html) is a language used to describe the semantics of instruction sets of general-purpose microprocessors, with enough detail to facilitate the reverse engineering of software compiled for these architectures. It is part of the [GHIDRA reverse engineering platform](https://github.com/NationalSecurityAgency/ghidra), and underpins two of its major components: its disassembly and decompilation engines.
[Sleigh](https://ghidra.re/courses/languages/html/sleigh.html) is a language used to describe the semantics of instruction sets of general-purpose microprocessors, with enough detail to facilitate the reverse engineering of software compiled for these architectures. It is part of the [Ghidra reverse engineering platform](https://github.com/NationalSecurityAgency/ghidra) and underpins two of its major components: its disassembly and decompilation engines.
This repository provides a CMake-based build project for SLEIGH so that it can be built and packaged as a standalone library, and be reused in projects other than GHIDRA.
This repository provides a CMake-based build project for Sleigh so that it can be built and packaged as a standalone library and be reused in projects other than Ghidra.
## Supported Platforms
@@ -10,7 +10,7 @@ This repository provides a CMake-based build project for SLEIGH so that it can b
| ---- | ------- |
| Linux | Yes |
| macOS | Yes |
| Windows | Not yet |
| Windows | Yes |
## Dependencies and Prerequisites
@@ -18,8 +18,9 @@ This repository provides a CMake-based build project for SLEIGH so that it can b
| Name | Version | Linux Package to Install | macOS Homebrew Package to Install |
**NOTE**: This CMake project pulls the Ghidra source code from the internet during configuration. See the [note on Ghidra source code section](#note-on-ghidra-source-code) for more details.
cmake --install build --prefix <path where SLEIGH will install>
# Install Sleigh
cmake --install build --prefix ./install
```
### Note on Ghidra source code
The Ghidra source code is not actually included in this git repo, and by default, CMake will automatically pull a stable version from the internet for you.
Please see [`src/README.md`](./src/README.md) for more information on how to customize which Ghidra source code commit will be used/compiled, including specifying your own local copy of the Ghidra source.
Please see [`src/README.md`](src/README.md) for more information on how to customize which Ghidra source code commit will be used/compiled, including specifying your own local copy of the Ghidra source.
## Packaging
The CMake configuration also supports building packages for SLEIGH. If the `sleigh_ENABLE_PACKAGING` option is set during the configuration step, the build step will generate a tarball containing the SLEIGH installation. Additionally, the build will create an RPM package if it finds `rpm` in the `PATH` and/or a DEB package if it finds `dpkg` in the `PATH`.
The CMake configuration also supports building packages for Sleigh.
For example:
```sh
cmake -B build -S . \
-Dsleigh_ENABLE_PACKAGING=ON
# Build SLEIGH
cmake --build build -j
# Package SLEIGH
# Package Sleigh
cmake --build build --target package
```
## API Usage
An example program called `sleigh-lift` has been included to demonstrate how to use the SLEIGH API. It takes a hexadecimal string of bytes and either disassembles it or lifts it to p-code. The program can be invoked like so, where the `action` argument must be either `disassemble` or `pcode`:
An example program called `sleigh-lift` has been included to demonstrate how to use the Sleigh API. It takes a hexadecimal string of bytes and can disassemble it or lift it to p-code. The program can be invoked as follows, where the `action` argument must be either `disassemble` or `pcode`:
The `sleigh_ENABLE_EXAMPLES` option must be set to `ON` during the configuration step in order to build `sleigh-lift`.
If you do not want to build `sleigh-lift`, you must set the CMake variable `sleigh_BUILD_EXTRATOOLS` option to `OFF` during CMake configuration.
## Helpers
This repository contains a helper that is not part of SLEIGH/GHIDRA, which can be found under`support/`. It has the following signature and can help the user find the location of a given spec file on the system:
This repository contains a helper not part of Sleigh/Ghidra, which you can find in the`support` directory. It has the following signature and can help the user find the location of a given spec file on the system:
The `sleigh::FindSpecFile` function will search the the paths provided by the user via the `search_paths` argument for a spec file with the name `file_name`. The default argument for `search_paths` is `sleigh::gDefaultSearchPaths` which contains the install/build directories that the CMake project was configured with as well as a set of common installation locations.
The `sleigh::FindSpecFile` function will search the paths provided by the user via the `search_paths` argument for a spec file with the name `file_name`. The default argument for `search_paths` is `sleigh::gDefaultSearchPaths` which contains the install/build directories generated during CMake configuration and a set of common installation locations.
If you do not want to build the helpers, you must set the CMake variable `sleigh_BUILD_SUPPORT` option to `OFF` during CMake configuration.
## Integration as a Dependency
An installation of sleigh provides a CMake interface that can be used to assist in building your project.
An installation of Sleigh provides a CMake interface that you can use when building your project.
An example of how to use the CMake package config file can be found in the [find_package](tests/find_package/CMakeLists.txt) example.
You can find an example of how to use the CMake package config file in the [find_package](tests/find_package/CMakeLists.txt) example.
We also provide a CMake helper function [`sleigh_compile`](cmake/modules/sleighCompile.cmake) to compile your own `.slaspec` files using the installed sleigh compiler from this project.
We also provide a CMake helper function [`sleigh_compile`](cmake/modules/sleighCompile.cmake) to compile your `.slaspec` files using a sleigh compiler.
Lastly, the installed compiled sleigh files can be located through the CMake variable `sleigh_INSTALL_SPECDIR`, which is an absolute path to the root directory for where the compiled sleigh files are located---you should manually inspect this to know what to expect.
You can find a more complex CMake example with compiling Sleigh specifications in the [`example`](example/CMakeLists.txt) directory, which uses the upstream-provided sleigh example source code.
Referencing the [CMake config file](cmake/install-config.cmake.in) is also suggested for learning more about the exposed CMake variables and modules.
Lastly, you can locate the installed compiled sleigh files through the CMake variable `sleigh_INSTALL_SPECDIR`, which is an absolute path to the root directory for the compiled sleigh files---you should manually inspect this to know what to expect.
Referencing the [CMake config file](cmake/install-config.cmake.in) and [`specfiles` CMake file](sleighspecs/specfiles.cmake.in) is also suggested for learning more about the exposed CMake variables and modules.
## License
See the LICENSE file in the top directory of this repo.
# the LICENSE file found in the root directory of this source tree.
#
set(PACKAGE_VERSION2)
if("${sleigh_GHIDRA_RELEASE_TYPE}"STREQUAL"HEAD")
set(PACKAGE_VERSION1)
if("${sleigh_RELEASE_TYPE}"STREQUAL"HEAD")
set(PACKAGE_VERSION"DEV.${ghidra_short_commit}")
endif()
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY"SLEIGH was designed for the GHIDRA reverse engineering platform and is used to describe microprocessors with enough detail to facilitate two major components of GHIDRA, the disassembly and decompilation engines.")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY"Sleigh was designed for the Ghidra reverse engineering platform built by the National Security Agency and is used to describe microprocessors with enough detail to facilitate two major components of Ghidra, the disassembly and decompilation engines. This is an unofficial release by Trail of Bits.")
This project uses CMake's [FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html) module to set up the Ghidra source tree. This means we can apply [patches](../patches) that live only in this repo for small changes to features like packaging or running tests.
This project uses CMake's [FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html) module to set up the Ghidra source tree. Using `FetchContent` means we can apply [patches](patches) that live only in this repo for minor changes that affect usage, packaging, or running tests.
By default, CMake pulls a stable version of Ghidra. You may use a more recent commit by specifying `-Dsleigh_GHIDRA_RELEASE_TYPE=HEAD` during CMake configuration.
See the `sleigh_GHIDRA_*` CMake cache variable comments for more details on how to customize your Ghidra source checkout.
By default, CMake pulls a stable version of Ghidra. During CMake configuration, you may use a more recent commit by specifying `-Dsleigh_RELEASE_TYPE=HEAD`.
## Advanced Usage Notes
Always reference the [CMake Documentation](https://cmake.org/cmake/help/latest/) for explanation of features and cache variable usages/effects.
Always reference the [CMake Documentation](https://cmake.org/cmake/help/latest/) and check CMake cache variables with `ccmake build` to discover all available options.
### Using your own Ghidra checkout
This method is useful for developing new features on top of the latest commits in Ghidra's default branch. If the commit(s) at the tip of Ghidra's default branch are not supported by this repo, we welcome pull requests to update support and pin that commit.
This method helps develop new features on top of the latest commits in Ghidra's default branch. Please open an issue or pull request if the commit at the tip of Ghidra's default branch does not build.
**Arbitrary Ghidra checkouts are not officially supported.**
**Arbitrary Ghidra checkouts/commits are not officially supported.**
If you want to use your own Ghidra source checkout, then set the following during CMake configuration:
Set the following during CMake configuration if you want to use your own Ghidra source checkout:
*`-Dsleigh_GHIDRA_RELEASE_TYPE=HEAD` if using commits on Ghidra's default branch (`master`) or any branch that may be incompatible with the current stable version.
*`-Dsleigh_RELEASE_TYPE=HEAD` if using commits on Ghidra's default branch (`master`) or any branch that may be incompatible with the current stable version.
*`-DFETCHCONTENT_SOURCE_DIR_GHIDRASOURCE=<path to your own Ghidra source>`. Remember, no existing [patches](../patches/HEAD) will be applied to your own source directory.
*`-DFETCHCONTENT_SOURCE_DIR_GHIDRASOURCE=<path to your own Ghidra source>`. Remember, CMake will not apply any [patches](patches/HEAD) to the specified source directory.
If you want to share a single Ghidra source checkout/clone for multiple build directories, the [_FetchContent Base Directory_](https://cmake.org/cmake/help/latest/module/FetchContent.html#variable:FETCHCONTENT_BASE_DIR) (`FETCHCONTENT_BASE_DIR`) should encode the build generator name and be located outside of the build directory (the name would look something like `cmake_fc_ghidra_${sleigh_GHIDRA_RELEASE_TYPE}_${CMAKE_GENERATOR}`).
The following scenario is discouraged. It can be brittle if everything does not match up. It is only helpful if you do not want to apply Ghidra source patches yourself.
Initially, this means that every new build generator used for building the project will have to re-download the ghidra source tree, but any subsequent run with an already-initialize generator should be faster and skip the download.
Suppose you want to share a single Ghidra source checkout/clone for multiple build directories. In that case, the _FetchContent Base Directory_ (`FETCHCONTENT_BASE_DIR`) should encode the build generator name and be located outside of the build directory (the name would look something like `cmake_fc_ghidra_${sleigh_RELEASE_TYPE}_${CMAKE_GENERATOR}`).
Initially, this means that every new build generator used for building the project will have to re-download the Ghidra source tree. Still, any subsequent run with an already-initialize generator should be faster and skip the download.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.