Commit Graph

65 Commits

Author SHA1 Message Date
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
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
ghidorahrex
6afdbcfc86 GP-703 improved various return from interrupt instruction semantics for PowerPC 2021-03-26 15:58:44 -04:00
ghidra1
966e80469d Merge remote-tracking branch 'origin/GP-703_ghidorahrex_ppc_vle_interrupt_returns' 2021-03-23 15:22:43 -04:00
ghidorahrex
ffa67eb295 Refactored interrupt return instructions for PPC 2021-03-23 11:08:56 -04:00
ghidra1
d377d90e14 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/GraphServices/certification.manifest
2021-03-17 19:38:50 -04:00
ghidra1
162f203395 Updated certification headers 2021-03-17 18:22:50 -04:00
ghidra1
d91dd11fdc GP-0 change PowerPC R_PPC_COPY and R_PPC64_COPY ELF relocation failure
to a warning
2021-02-03 10:35:25 -05:00
ghidra1
6107f29a95 GP-302 corrected issue affected ELF PLTGOT bounds determination.
Corrected various pointer and data related issues
2020-10-23 18:57:11 -04:00
mumbel
dce6e9f6a8 Cleaning up warnings and errors, mostly looking for:
temporary is written but not read in constructor
2020-01-22 19:51:45 -06:00
ghidorahrex
b514a2c9ec GT-3254: PPC VLE Corrected signed immediate offset calculation (fixes
#1160)
2019-11-13 08:13:19 -05:00
Ryan Kurtz
c835f335fa Merge remote-tracking branch
'origin/GT-3228_ghidorahrex_PowerPC_VLE_e_cmpi_decompilation' into patch
(fixes #1127)
2019-11-05 10:34:29 -05:00
Ryan Kurtz
b12ebf9b60 Merge remote-tracking branch
'origin/GT-3232_ghidorahrex_PowerPC_VLE_bit_generation' into patch
(fixes #967)
2019-11-01 09:44:45 -04:00
ghidorahrex
8f526ee693 GT-3228: Removed unneeded temporary variables and token field. 2019-10-31 13:05:52 -04:00
ghidorahrex
dba454d348 GT-3232: Corrected PowerPC VLE bit generation for several instructions 2019-10-10 10:05:55 -04:00
ghidorahrex
3236686436 GT-3228: Corrected crall implementation for PowerPC comparisons 2019-10-09 13:39:24 -04:00
caheckman
5e41bf2df4 fix for se_bmaski, parameter first use with subtractWrap 2019-10-09 13:20:00 -04:00
Ryan Kurtz
140629c346 Merge remote-tracking branch 'origin/GT-3159_ghidorahrex_powerpc_vle_e_rlwinm_bit_pattern' into Ghidra_9.1 2019-09-19 12:45:31 -04:00