Commit Graph

60 Commits

Author SHA1 Message Date
ghidra1
3ead54f0ac GP-4239 Transitioned to new AbstractElfRelocationHandler implementation which uses ElfRelocationType enums specific to each handler. 2024-02-12 10:52:25 -05:00
ghidra1
72bb0e4626 Merge remote-tracking branch
'origin/GP-4054_ghidorahrex_PR-5213_mikenawrocki_pic24_doend_offset'
into Ghidra_11.0 (Closes #5213)
2023-12-14 08:54:09 -05:00
Mike Nawrocki
2003baa523 PIC24: Fix DOEND register offset
Based on the datasheet: https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/70117F.pdf Table 3-3 (p 38)

DOEND should start at offset 0x3E
2023-11-20 16:15:33 +00:00
William Tan
0b3801a5a5
typo: setMinpeculativeOffset -> setMinSpeculativeOffset 2023-09-20 13:24:01 -04:00
James
35e46d773b GP-3537 improve le in PIC24.sinc 2023-06-09 21:13:42 +00: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
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
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