Commit Graph

52 Commits

Author SHA1 Message Date
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
emteere
1410ccb6f8 GP-2714 fixing bad arm reference to memory on odd external reference offsets 2022-10-18 18:25:20 -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
Ryan Kurtz
0ed00bdd50 GP-0: Fixing the remainder of the "psuedo" spellings (#4601) 2022-09-20 01:02:00 -04:00
Dan
760a9ca462 GP-1426: Refactor assembler. Fix issue where Sleigh passes context to the right. 2022-03-28 14:59:46 -04:00
ghidra1
5b24b188d8 GP-1565 corrected PIC swap semantics 2021-12-01 10:01:42 -05:00
ghidra1
cfdec26da4 GP-943 Added support for zero-length arrays and
zero-length components.  NOTE: We still never return 0 for
DataType.getLength().  Added DataType.isZeroLength().
2021-09-24 16:29:29 -04:00
Ryan Kurtz
bd4a5eeb97 GP-0: Fixing typo in pic18.slaspec comment (Closes #782) 2021-08-13 12:22:09 -04:00
ghidra1
0a8db1e0ad Merge remote-tracking branch 'origin/GP-647_ghidorahrex_pic24_return_instructions' into Ghidra_10.0 2021-06-01 10:02:10 -04:00
ghidorahrex
c9634dd808 Fixed correct SRL byte to grab from tmp 2021-05-21 10:44:29 -04:00
ghidorahrex
38a38056e8 removed @if NEVER blocks from PIC24.sinc 2021-05-21 10:40:38 -04:00
Ryan Kurtz
3a0ae8ee39 GP-849: Gradle 7 support 2021-05-12 13:45:16 -04:00
ghidra1
e9753ebceb Merge remote-tracking branch
'origin/GP-841_ghidorahrex_pic16_missing_instructions--SQUASHED'

Conflicts:
	Ghidra/Processors/PIC/data/languages/pic16_instructions.sinc
2021-05-10 20:45:41 -04:00
ghidorahrex
1e109f9474 Added Z flag updates for shift instructions.
Added missing PIC16 instructions
2021-05-10 10:30:10 -04:00
ghidra1
da800b6e41 GP-862 Refactor of Composite interface and internals. Changes made to
packing and alignment methods (see WhatsNew.html for API changes).
2021-05-07 20:56:35 -04:00
ghidra1
a34644abdc Merge branch 'GP-901_ghidra1_RegisterAlias' (Closes #2956) 2021-04-30 19:42:04 -04:00
ghidra1
0a85fb1984 GP-902 Modified treatment of ELF Symbols which refer to SHN_UNDEF (0) or
SHN_ABS (0xfff1) section index values.
2021-04-30 11:34:40 -04:00
ghidra1
8f9b067384 GP-901 added regiater alias support and defined WREG aliases for PIC24
variants
2021-04-28 16:04:03 -04:00
ghidra1
74a580191e GP-906 corrected alignment of PIC24 allocated external symbol during ELF
import
2021-04-28 16:01:34 -04:00
ghidra1
a372f17736 Merge remote-tracking branch
'origin/GP-841_ghidorahrex_pic16_missing_instructions' (Closes #1362)
2021-04-21 19:11:58 -04:00
ghidorahrex
fc3fef823d Restored unpackSRL macro to return instructions. 2021-04-15 07:34:45 -04:00
ghidorahrex
18eb9bc2d2 Added missing PIC16 instructions 2021-04-12 10:52:52 -04:00
ghidorahrex
6eb6bde3f4 Simplified PIC24 return instruction semantics. 2021-04-09 14:17:40 -04:00
ghidra1
8e4be06649 Merge branch 'GP-798_ghidorahrex_PR-2855_gtackett_pic24_tblpag_psvpag'
(Closes #2855)
2021-04-02 18:03:19 -04:00
gtackett
0cc1568871
Fix for #2844 re. addresses of TBLPAG and PSVPAG 2021-03-18 09:57:45 -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
bd8d076a55 GP-710 Added register symbol processing to ELF PIC30 import processing.
Improved code unit operand format to render memory register name when no
reference is present.
2021-02-25 19:08:18 -05:00
ghidra1
a60b89cd86 GP-710 Added support for additional PIC30 ELF relocations (closes #2792) 2021-02-25 19:08:04 -05:00
ghidra1
cefc2e52ad Revert "GP-710 Added support for additional PIC30 ELF relocations (closes #2792)"
This reverts commit 9c1fed6a13.
2021-02-25 19:05:05 -05:00
ghidra1
ce910a1112 Revert "GP-710 Added register symbol processing to ELF PIC30 import processing. Improved code unit operand format to render memory register name when no reference is present."
This reverts commit c545a6fb5a.
2021-02-25 19:04:33 -05:00
ghidra1
c545a6fb5a GP-710 Added register symbol processing to ELF PIC30 import processing.
Improved code unit operand format to render memory register name when no
reference is present.
2021-02-23 16:06:45 -05:00
ghidra1
9c1fed6a13 GP-710 Added support for additional PIC30 ELF relocations (closes #2792) 2021-02-23 12:48:27 -05:00
Alessandro Gatti
a9663958e1 Handle all PCLATH modification cases. 2020-05-21 15:03:19 +02:00
ghidra1
305a1ddf98 Merge branch 'ghidra1_PIC30_ElfImportFixes' 2020-05-14 16:02:55 -04:00
ghidra1
251e14562d PIC24/30/33 corrections and ELF import improvements for Harvard
Architecture
2020-05-14 15:29:52 -04:00
ghidra1
3b05eada12 Merge remote-tracking branch 'origin/patch' 2020-03-27 12:30:34 -04:00
ghidra1
7c8d4257e0 Corrected PIC24 non-critical property key 2020-03-27 10:34:21 -04:00
ghidorahrex
707879af79 GT-3562: Updated pic24/pic30 idx and slaspec 2020-03-18 13:48:22 -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
Michael Huebler
eca42913d6 On PIC16 instruction MOVIW added setResultFlags(W), because this instruction affects Z 2019-08-30 19:23:35 +02:00
Ryan Kurtz
e9f542f4f2 Merge remote-tracking branch
'origin/GT-3091_ghidorahrex_PR-665_mh-_fix_pic16_w_vs_wreg'
2019-08-20 13:24:36 -04:00
ghidorahrex
b4096d1061 Fixed build errors in PIC-30 (Fixes #897) 2019-08-12 08:21:22 -04:00
ghidorahrex
6a75b66995 PIC 30 code review fixes. Changed "repeat 0x12" to "repeat 0x11".
Modified plain division instructions to use pcodeops since we can't
implement the normal instructions.
2019-08-06 12:02:13 -04:00
ghidorahrex
d7877b0353 Updated pcode tests for PIC30 issues. 2019-07-19 13:22:06 -04:00
ghidorahrex
05d9679a3d Added instructions that correctly emulate/model/decompile division for
the PIC-24 and PIC-30.
2019-07-19 13:22:05 -04:00
ghidra1
6a6bb63932 Corrected ELF Import issue where FileBytes can not be used in some load
situations (e.g., PIC-30)
2019-07-19 10:56:01 -04:00
ghidra1
dd15435371 Added P-Code Test framework to facilitate semantic verification through
emulation
2019-06-25 09:37:15 -04:00
Michael Huebler
c2d798cbb2 renamed WREG to W so that the decompiler can use it properly as a function parameter. 2019-06-07 22:34:22 +02:00
ghidravore
f1e50fb079 Major refactoring of the gradle build system. 2019-04-23 15:20:26 -04:00