Commit graph

55 commits

Author SHA1 Message Date
vporok01
3d54c90cd6 Fix RISC-V minu and max instructions' definitions (Closes #8215) 2025-06-11 11:47:49 -04:00
Ryan Kurtz
6730154316 GP-0: Certify 2025-04-21 07:54:19 -04:00
Luke Serné
8303061629 Many typo's
These were found using the command below searching for duplicated words,
and manually going through the results to remove the false positives and
reword the true positives. Sometimes I removed the doubled word and
sometimes I replaced the duplicated word.

The grep command:
grep -nIEr '\b([a-zA-Z]+)[[:space:]*]+\1\b' ./Ghidra
2025-04-19 18:06:41 +02:00
Dan
7dd417b6be GP-5051: Distinct qemu-system launcher. 2024-12-04 08:43:26 -05:00
Ryan Kurtz
faf55a8de6 GP-5078: Improvements to Ghidra Module directory layout 2024-10-31 10:34:26 -04:00
ghidra1
036ef9d0db GP-4737 - Improve ELF relocation handling of unresolved symbol 2024-07-01 13:06:54 -04:00
ghidra1
01087ba0a8 GP-0 Minor revision to ELF relocation handlers 2024-04-01 17:09:44 -04:00
ghidra1
ce9418d831 GP-4398 minor formatting 2024-03-06 10:58:27 -05:00
mumbel
9a22180efa Add issing ELF reloc 2024-03-05 22:19:27 -06:00
Dan
289c5c90fa GP-3838: Add qemu+gdb launcher. 2024-03-01 12:36:13 -05:00
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
Ryan Kurtz
0e9c36b513 Merge remote-tracking branch 'origin/patch' 2023-11-30 08:23:00 -05:00
ghidorahrex
21e74c4d42 GP-4047: Fixed RISC-V custom instruction sleigh patterns 2023-11-16 16:53:58 +00:00
William Tan
0b3801a5a5
typo: setMinpeculativeOffset -> setMinSpeculativeOffset 2023-09-20 13:24:01 -04:00
ghidra1
e83e62d01d GP-3792 correct ELF RISCV branch/jump relocations 2023-08-28 11:45:17 -04:00
ghidra1
9ccc5f9cee GP-3707 corrected RISCV_ElfRelocationContext infinite loop 2023-08-24 15:52:26 -04:00
ghidra1
0233f35d1f GP-3707 corrected array index bug in RISCV_ElfRelocationContext 2023-08-21 18:19:02 -04:00
ghidra1
065e5b01e8 GP-3707 revised and implemented missing RISCV ELF relocations.
Corrected ElfRelocation to maintain signed addend value.
2023-08-16 08:26:29 -04:00
Gary Hayward
1ba91ebb51 GP-3707 ELF RISCV relocation processing improvements 2023-08-15 13:24:23 -04:00
ghidra1
6f5ded53f2 GP-3707 Add additional ELF RISCV relocations and some cleanup 2023-08-07 12:04:06 -04:00
Joakim Nohlgård
353a79840d Implement handling of relocations R_RISCV_CALL, R_RISCV_HI20,
R_RISCV_LO12, R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_BRANCH,
R_RISCV_JAL
2023-08-07 11:46:10 -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
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
9533632167 Merge remote-tracking branch 'origin/patch' 2023-03-22 11:20:12 -04:00
emteere
5bf82b8af1 GP-3217 RISCV JAL/JALR goto/call fix for T0 register 2023-03-20 20:44:59 +00:00
Ryan Kurtz
1de4b32e51 Merge remote-tracking branch 'origin/patch' 2023-02-08 06:10:33 -05:00
emteere
93c291ba72 GP-2905: Fixed regression in handling of spacebase register values that
cause a stack trace in the decompiler for RISCV.  Removed unnecessary
spacebase settings in tricore, mips, riscv.
2023-02-07 10:51:56 -05: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
emteere
321c3455a3 GP-2878 Adjusted RISCV function start pattern totalbits and postbits and instruction flow / decode changes, don't decode 0x0000 as unimpl 2022-12-01 19:33:53 -05: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
8d0564f19a Merge remote-tracking branch 'origin/GP-2161_ghidorahrex_PR-2590_mumbel_riscv_cspec' 2022-07-11 12:40:46 -04:00
Ryan Kurtz
2491c4298b Merge branch 'GP-2046_ryanmkurtz_PR-4003_fnoelscher_risc-v-pattern'
(Closes #4002, Closes #4003)
2022-05-18 13:13:33 -04:00
Ryan Kurtz
076e99e803 GP-2046: Certifying 2022-05-18 13:01:29 -04:00
ghidra1
2bced1cd43 GP-1036 EXTERNAL Block Offset-Reference refactor 2022-04-15 13:19:40 -04:00
Henrik Ferdinand Noelscher
820c1a567d fix #4002 - fix a typo in RISC-V pattern constraints filename 2022-02-15 18:42:53 +01:00
James
ef78846212 GP-1409 implemented code review suggestion
GP-1409 minor improvements to RISCV spec
2021-11-05 09:36:43 -04:00
emteere
f90e3a4627 GP-1258 code review changes 2021-09-07 12:19:41 +00: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
162f203395 Updated certification headers 2021-03-17 18:22:50 -04:00
mumbel
31c466c83e Bad long size (and alignment) 2020-12-27 22:29:04 -06:00
emteere
b1e75e0d6f GP-358_emteere Minor RISV code review changes 2020-11-03 16:41:29 -05:00
mumbel
5fe0f16e10 c.fsw broken under double-precision
if FP is 64, should still handle single precision
2020-11-03 16:41:28 -05:00
mumbel
a487f77918 Opinion fix
Does not handle all the cases it can, add in size IMAFC and
generic cases for GC.
2020-11-03 16:41:27 -05:00
mumbel
c9ae8bdd8d Update to RISCV processor module 2020-11-03 16:41:26 -05:00
ghidra1
4ecf402341 Merge remote-tracking branch 'origin/GP-58_caheckman_RiscvDecodeStates' 2020-09-18 16:27:43 -04:00
caheckman
2e9fdb7de8 Adjustment to RISCV decode states 2020-08-03 13:44:19 -04:00
Austin Roach
688ed5e00d RISC-V j/jr semantics: use goto instead of call
In the RISC-V binaries that I've been looking at, the j and jr
instructions have been used exclusively for intraprocedural control flow
transfers, where the function-call hinting associated with the CALL
p-code op leads to nasty side effects in the control flow
reconstruction.
2020-07-20 20:48:37 -04:00
ghidorahrex
b7481d2088 Merge remote-tracking branch
'origin/GT-3524_ghidorahrex_PR-1450_mumbel_riscpatt'

Fixes #1450
2020-07-16 14:09:41 -04:00
ghidra1
3c99e1063c Corrected RISCV language files which need blank line at end 2020-02-20 14:17:31 -05:00