Commit graph

131 commits

Author SHA1 Message Date
Ryan Kurtz
a87044c521 Merge remote-tracking branch 'origin/patch' 2023-05-18 11:06:01 -04:00
Ryan Kurtz
0cae3ab0f5 Merge remote-tracking branch
'origin/GP-3325_ghidorahrex_PR-4886_Ninja3047_fix-ppc-stmvsprw' into
patch (Closes #4886)
2023-05-18 11:02:54 -04:00
Ryan Kurtz
f8ebb729ef Merge remote-tracking branch
'origin/GP-3432_ghidorahrex_PR-4887_Ninja3047_ppc_vle_eieio' into patch
(Closes #4887)
2023-05-18 10:58:25 -04:00
Ryan Kurtz
033d2a2ec6 Merge remote-tracking branch
'origin/GP-3434_ghidorahrex_ppc_vle_e_sthu_fix' (Closes #5247)
2023-05-15 08:40:12 -04:00
ghidorahrex
9dc6e6e29d GP-3434: Fixed PPC VLE e_sthu mnemonic display 2023-05-12 17:51:08 +00:00
William Tan
4dd7d296a5
fix call_frame_cfa value for ppc 2023-05-09 11:16:46 -04:00
ghidra1
ff8f0d7782 Merge remote-tracking branch
'origin/GP-3341_ghidorahrex_ppc_branch_link_fix' into Ghidra_10.3
(Closes #5218)
2023-05-08 14:16:50 -04:00
William Tan
9c694ebfd1
move around mbar/eieio 2023-05-05 11:13:03 -04:00
William Tan
eebdca2668
move mbar from a2 to ppc_embedded, remove duplicate eieio 2023-05-05 11:13:03 -04:00
William Tan
8277a6312b
fix: also decode eieio (mbar 0) for VLE 2023-05-05 11:13:02 -04:00
Ryan Kurtz
7fa3389119 GP-2974: Fixing warnings 2023-05-01 07:23:48 -04:00
emteere
02248d2251 GP-3077 Added constant tracking through stack for stack parameters, fixed issues with values getting crossed moving in and out of memory, added prototype param type creation, added setting for restricting parameters to know pointers to handle harvard architectures and pointertypedefs 2023-05-01 01:57:56 -04:00
ghidorahrex
57d645dc92 GP-3341: Fixed PowerPC LR register for conditional BLR* 2023-04-21 19:39:33 +00:00
ghidra1
ef8d86e0ae GP-3339 avoid offset-pointer creation in execute blocks during ELF relocation processing. Also skip for section-symbol based relocations. 2023-04-21 13:55:34 -04:00
Ryan Kurtz
32e5c3de56 GP-3262: Mach-O PowerPC relocation framework 2023-04-06 08:07:47 -04:00
Pokechu22
14880b53c4 Create and use LZCOUNT Pcode op 2023-03-02 18:30:04 -08:00
ghidra1
5b433f35ca GP-3013 Refactor of Relocation API (created V6 DB adapter) to include
status and stored length when original FileBytes are used.
2023-02-03 08:01:04 -05:00
ghidra1
c2440f9062 Merge remote-tracking branch 'origin/GP-2984_ghidra1_x86_GOTPCREL--SQUASHED' 2023-01-19 09:13:45 -05:00
ghidra1
6e1ad5578f GP-2984 modified ELF relocation processing to use single ElfRelocationContext instance. Modified X86-64 relocation processing to handle GOTPCREL for object modules. 2023-01-19 09:12:36 -05:00
Ryan Kurtz
82ac8f7143 Merge remote-tracking branch 'origin/patch' 2023-01-13 08:17:56 -05:00
Ryan Kurtz
f1dc157f04 Merge remote-tracking branch 'origin/GP-2245_ghidorahrex_powerpc_mtsmsr_fix--SQUASHED' into patch 2023-01-13 08:08:27 -05:00
ghidorahrex
32eadb284f GP-2245 Corrected semantics of the mtmsr[d] instructions in powerpc 2023-01-13 07:07:00 -05:00
William Tan
2964e171ea
fix: incorrect sleigh in e_stmvsprw for PPC VLE 2023-01-10 16:55:41 -05:00
Ryan Kurtz
ae6322ba36 Merge remote-tracking branch
'origin/GP-2937_ghidorahrex_PR-4664_RootCubed_fsel_fix_2' (Closes #4664)
2022-12-20 13:30:17 -05:00
RootCubed
c422741282 Fix implementation of fsel instruction 2022-12-20 14:39:56 +01:00
ghidra1
2803472278 GP-2744 correct ELF symbol table processing in absence of associated string table 2022-10-21 12:44:04 -04:00
ghidra1
6b9bd6c220 GP-2703 revised ELF relocation processing to handle statically linked
binaries and adjusted post-relocation read-only memory fixup.
2022-10-17 18:43:27 -04:00
emteere
ca5a6204c3 GP-2391 added evaluation of return address, allow thunking addresses to externals. Added new arem thunk pattern. 2022-10-11 18:25:09 -04:00
Ryan Kurtz
f6a620c5e0 Merge remote-tracking branch
'origin/GP-713_ghidra1_ELF_PowerPC_EMB_Relocation--SQUASHED'
(Closes #890)
2022-07-25 13:24:44 -04:00
ghidra1
0d54d2d7c3 GP-713 added support for ELF PowerPC R_PPC_EMB_SDA21 relocation. Also revised PowerPC cspecs in support of EABI. 2022-07-25 08:38:40 -04:00
ghidra1
2e7fce3336 Merge remote-tracking branch 'origin/patch' 2022-07-22 15:11:51 -04:00
ghidra1
0287403adf GP-2272 added PowerPC e500 processor variant 2022-07-21 21:54:06 -04:00
ghidra1
b23ab30f58 GP-2128 changed relocation table to support multiple relocations at the same address and rely on original FileBytes for relocations when possible instead of storing within relocation. 2022-07-14 15:59:13 -04:00
ghidra1
01067debde GP-1797 removed unused DataTypeConflictException 2022-05-16 12:33:16 -04:00
ghidra1
b16404d87b GP-1936 Support extended sizes for ELF program and section header counts 2022-04-18 20:57:33 -04:00
ghidra1
2bced1cd43 GP-1036 EXTERNAL Block Offset-Reference refactor 2022-04-15 13:19:40 -04:00
ghidra1
073c726885 Merge remote-tracking branch 'origin/patch' 2022-01-21 19:49:10 -05:00
Greg Hogan
c91d117187 fix efscmp* and efstst* instructions 2022-01-21 19:31:57 -05:00
ghidra1
9076b2429c GP-1571 ELF: create fake relocation table entry for non-relocation memory modifications (needed for ELF export) 2021-12-13 14:52:24 -05:00
ghidorahrex
905ec75e32 GP-1250: Several PPC instruction fixes 2021-11-30 07:53:13 -05:00
Ryan Kurtz
9593f16585 Merge remote-tracking branch
'origin/GP-1075_ghidorahrex_PR-1672_mumbel_ppcregwrite' (Closes #1672)
2021-08-27 09:41:33 -04:00
Ryan Kurtz
8e0c298bd3 Merge remote-tracking branch
'origin/GP-1218_ghidorahrex_PR-2927_nneonneo_powerisa_idx' (Closes
#2927)
2021-08-17 14:02:06 -04:00
ghidra1
0a24532bf7 GP-1110 Refactor ElfDefaultGotPltMarkup.processDynamicPLTGOT implementation, Correct duplicate ELF relocation table processing, and other minor ELF cleanup 2021-08-02 15:58:37 -04:00
mumbel
d61be26b38 [PowerPC] Various SLEIGH fixes
- Ensure registers do not overlap for source and destination registers
- preserve register values when needed
- signed issue comparing unsigned to negative
- unued argument in divZero macro
- stwcx. and stdcx. should set cr bits to continue
- out of order flag setting vs value assignment
- some fixes in setting wrong cr bit
2021-06-25 10:54:45 -05:00
ghidra1
e89a8dcde3 GP-1029 Detect and mark unsupported EXTERNAL data relocation and correct MIPS compound relocation processing bug. 2021-06-09 18:26:05 -04:00
Ryan Kurtz
3a0ae8ee39 GP-849: Gradle 7 support 2021-05-12 13:45:16 -04:00
ghidra1
f7b2d49468 Corrected various language errors (PPC, SPARC, MCS96) 2021-05-04 23:24:56 -04:00
ghidorahrex
84f0096e02 Fixed size for signed immediate value of the PPC VLE e_li instruction 2021-04-13 12:30:10 -04:00
Robert Xiao
d9a291ff0e
Update PowerISA.idx with correct "physical" pages
PowerISA.idx was incorrectly using "logical" page numbers for the listings, which would not come up correctly when called from the "Processor Manuals" menu. Fixed to apply "physical" page numbering, and tested with instructions from compiling [power8.s](https://chromium.googlesource.com/chromiumos/third_party/binutils/+/refs/heads/master/gas/testsuite/gas/ppc/power8.s) and [vle.s](https://chromium.googlesource.com/chromiumos/third_party/binutils/+/refs/heads/master/gas/testsuite/gas/ppc/vle.s).
2021-04-12 03:18:42 -06:00
ghidra1
9a8228467b Merge remote-tracking branch
'origin/GP-703_ghidorahrex_PPC_regression_fix--SQUASHED'
2021-03-26 16:01:32 -04:00