Commit graph

47 commits

Author SHA1 Message Date
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
ghidorahrex 77665a8945 GT-3159: PowerPC: corrected e_rlwimi and e_rlwinm VLE bit patterns.
Corrected wrteei bit pattern.
2019-09-17 12:03:46 -04:00
ghidra1 ac5fe56e6c Merge branch 'GT-3148_ghidorahrex_powerpc_vectorpermute_OoB_exception' into Ghidra_9.1 2019-09-17 11:37:24 -04:00
ghidorahrex fccabd9950 GT-3148: Corrected conversion of BigInteger to byte array to remove
array out of bounds exception in PowerPC vectorPermute pcodeop
2019-09-17 11:36:36 -04:00
mumbel 9d03c3a5f7 se_cmpli fix
Previous attempt at se_cmpli fix incorrectly applied a 5 bit mask
OIMM = UI5_VLE + 1, resulting in values 1-32
2019-09-12 17:30:40 -05:00
mumbel 2f3eeed8ca bad endian processing 2019-08-26 17:18:56 -05:00
mumbel 1bce22e2c7 PPC64 VLE fix for se_cmpli
se_cmpli uses the 5 bits of OIMM = OIM5 + 1, had OIM5.
2019-08-26 17:12:36 -05:00
mumbel bc4790d509 correctiosn for DSRR1 2019-08-23 18:57:30 -05:00
mumbel ef82a52182 correctiosn for D/CSRR 2019-08-23 18:54:55 -05:00
mumbel 498abfa8ba Add additional VLE instructions
Taken from "New VLE Instructions for Improving INterrupt Handler Efficiency"
EB696.pdf
2019-08-23 18:20:08 -05:00
ghidra1 dd15435371 Added P-Code Test framework to facilitate semantic verification through
emulation
2019-06-25 09:37:15 -04:00
ghidra1 0fc0250762 Merge remote-tracking branch 'origin/GT-2781_GhidorahRex_PR-387_aldelaro5_PowerPC_FLOAT_NEG' 2019-05-09 17:51:24 -04:00
ghidravore f1e50fb079 Major refactoring of the gradle build system. 2019-04-23 15:20:26 -04:00
aldelaro5 e51128e46f Processors/PowerPC: Use FLOAT_NEG on fneg and fneg. instructions
It was causing weird decompilation output.
2019-04-09 01:09:38 -04:00
ghidra1 7179c6de81 GT-2667 added support for generating sleigh build.xml files 2019-03-29 17:24:31 -04:00
Dan 79d8f164f8 Candidate release of source code. 2019-03-26 13:46:51 -04:00