Commit Graph

1625 Commits

Author SHA1 Message Date
emteere
154ccaae96 GP-4507 added Tricore p0/p8 to .cspec prefersplit list 2024-04-10 10:16:57 -04:00
ghidorahrex
3169948bc8 GP-3723: Added PIC16F MOVLB variant instruction 2024-04-09 13:00:58 +00:00
ghidorahrex
4b00b140d7 GP-4499: Fixed AARCH64 ldst_wback subconstructor 2024-04-08 15:54:57 +00:00
Ryan Kurtz
3e35b4d4a7 Merge remote-tracking branch 'origin/patch' 2024-04-03 14:36:07 -04:00
ghidra1
6705f25da2 GP-0 Additional ELF relocation handler change 2024-04-01 17:10:27 -04:00
ghidra1
01087ba0a8 GP-0 Minor revision to ELF relocation handlers 2024-04-01 17:09:44 -04:00
emteere
4af7788201 GP-4479 fix decompiling of V850 binaries not using GP and TP registers
as constants when when computing memory references
2024-04-01 16:23:06 -04:00
Ryan Kurtz
f5d956d5e6 Merge remote-tracking branch 'origin/GP-4031_X86SystemVABI' 2024-04-01 11:22:00 -04:00
Ryan Kurtz
6b4f9b71b5 Merge remote-tracking branch 'origin/patch' 2024-04-01 11:18:56 -04:00
Ryan Kurtz
f0aaf4ebbb Merge remote-tracking branch 'origin/GP-3917_emteere_AddBTIcToFunctionStarts' into patch 2024-04-01 11:08:25 -04:00
emteere
bb5f35216e GP-4468 tricore calling convention extension="inttype" fix 2024-03-29 12:18:09 -04:00
dev747368
d566cde70e GP-0 fix dwarf sparc register mappings 2024-03-28 16:26:47 +00:00
Ryan Kurtz
c131adc670 Merge remote-tracking branch
'origin/GP-4464_dev747368_PR-6301_Ninja3047_fix-sparc-dwarf'
(Closes #6301)
2024-03-27 13:26:26 -04:00
Ryan Kurtz
0f3351ab6a Merge branch 'GP-0_ryanmkurtz_PR-6345_RoboSchmied_endianness-typo' 2024-03-27 07:27:47 -04:00
dev747368
03cf1b7cd8 GP-4464 PR-6301 certify file 2024-03-26 19:26:07 +00:00
Ryan Kurtz
a56712d4ab Merge remote-tracking branch
'origin/GP-4401_ghidracadabra_PR-4120_flk0_master' (Closes #4120)
2024-03-25 10:14:37 -04:00
James
697718ff35 GP-4401 code review changes 2024-03-25 14:04:37 +00:00
RoboSchmied
d7cc532fe3 Fix: 132 typos
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-03-22 02:25:30 +01:00
emteere
797d1b8103 GP-3917 Adding BTIc function start pattern for AARCH64 2024-03-20 16:24:06 -04:00
Ryan Kurtz
211e15bef5 Merge remote-tracking branch 'origin/patch' 2024-03-20 13:16:06 -04:00
mumbel
83b45b995c MIPS patterns
sync possible function start with function start
correct bit pattern for all bits in instr_index
2024-03-20 13:11:20 -04:00
James
000085a82f add/subtract with carry tweaks 2024-03-18 21:53:05 +00:00
James
68270ac6d9 minor tweaks 2024-03-18 17:14:15 +00:00
flk0
3c11e8f59f Correct errors in the MSP430 SLEIGH specification
This patch modifies the SLEIGH specification of MSP430 (but not the MSP430X extension) to produce pcode that more accurately reflects the actual behaviour of the instruction set. These changes were derived by testing the Ghidra emulation of MSP430 instructions against the behaviour of an MSP430FR5994 dev board.

The changes include:
    Unaligned (odd) word memory accesses and writes now properly round down rather than accessing unaligned memory. This affects instructions that depend on the stack pointer, which can be misaligned.

    The PC register can now never become misaligned (it's low bit is effectively zero).

    Accesses of the PC register now properly reflect the address of the next instruction.

    Instructions that use the status register (SR) as a general source register have been modified to prevent changes to the status codes (embedded in SR) to clobber the value of SR prior to its use in the operation. There is more work to be done to correct the behaviour of instructions where SR is used as the destination register.

    Instructions of the form MNEM @reg+ X(reg) where the source and dest use the same register now accurately reflect the source increment in the calculation of the dest value. [These instruction behaves as: fetch source, increment source, fetch dest]

    The implementation of the V flag for ADDC, SUBC, and related emulated instructions now reflects comparing the src and dest signs (without the carry) with the result sign (which includes the carry). [The original implementation adds the carry to either the source or dest prior to scarry]

    Added an implementation of the decimal add instructions that may be clunky, but accurately performs the operations.

    The RRC instruction now clears the V flag.

    A new table has been added for single operand instructions, as tbl_bzero was incorrectly applied (single operand instructions use the as (not ad) token for the dest).

    The carry flag was inverted for DEC and DECD.

    Corrections for corner case instructions: PUSH/POP SP, PUSH/CALL X(SP), BR @reg+.
2024-03-15 20:00:10 +00:00
Ryan Kurtz
86b7d45ba8 Merge remote-tracking branch 'origin/patch' 2024-03-14 12:53:10 -04:00
Ryan Kurtz
786efaf0a0 Merge remote-tracking branch 'origin/GP-4419_ghidorahrex_ppc_lwax_fix' into patch 2024-03-14 12:48:00 -04:00
caheckman
c674e1f2ec GP-4031 x86 System V ABI 2024-03-13 16:55:44 +00:00
Ryan Kurtz
362f571b19 Merge remote-tracking branch 'origin/patch' 2024-03-13 09:41:45 -04:00
Ryan Kurtz
9a990e536c Merge remote-tracking branch 'origin/GP-4418_ghidorahrex_PR-5756_esaulenka_fix_Tricore_DEXTR' into patch 2024-03-13 09:34:16 -04:00
ghidra1
193e7221fd Merge remote-tracking branch 'origin/patch' 2024-03-13 09:04:01 -04:00
Ryan Kurtz
524dd901c5 Merge remote-tracking branch 'origin/GP-4397_ghidra1_ElfPPC_ADDR16_LO_HA' into patch 2024-03-13 08:32:20 -04:00
ghidorahrex
18b1d5b6a1 GP-4419: Fixed pcode for ppc lwax instruction 2024-03-11 15:50:45 +00:00
William Tan
2428fc5b04
add dwarf register mapping for sparc 2024-03-08 10:45:06 -05:00
Ryan Kurtz
812d47c6ac Merge remote-tracking branch
'origin/GP-3110_emteere_PR-1449_mumbel_tricoreanalyzer' (Closes #1449)
2024-03-08 09:05:51 -05:00
Ryan Kurtz
e1054e0bc9 Merge remote-tracking branch
'origin/GP-4381_ghidorahrex_PR-6266_AltimorTASDK_x86_FDIVP_fix'
(Closes #6266)
2024-03-08 09:03:08 -05:00
Ryan Kurtz
1cc9abad50 Merge remote-tracking branch 'origin/patch' 2024-03-08 08:54:02 -05:00
Ryan Kurtz
07578fe327 Merge remote-tracking branch 'origin/GP-1791_ghidorahrex_ARM_custom_datapath_extension--SQUASHED' into patch 2024-03-08 08:49:04 -05:00
emteere
a8ed3df3a9 GP-3110 missed breaks 2024-03-07 19:09:00 -05:00
emteere
03d4545336 GP-3110 Code review changes 2024-03-07 18:50:44 -05:00
ghidorahrex
f35073e033 GP-1791: Added ARM Custom Datapath Extension 2024-03-07 13:59:33 -05:00
emteere
902bcb69a2 GP-3110 fixing minor compilation issues and certification 2024-03-07 11:16:42 -05:00
Ryan Kurtz
c3c34ebf10 Merge remote-tracking branch 'origin/GP-4125_ghidra1_ArtificialBlockAttribute--SQUASHED' 2024-03-07 08:50:41 -05:00
ghidra1
ae475f743b GP-4125 Added memory block artificial attribute flag 2024-03-06 16:53:12 -05:00
ghidra1
ce9418d831 GP-4398 minor formatting 2024-03-06 10:58:27 -05:00
mumbel
59d8eefad1 update constant to type 2024-03-05 22:45:29 -06:00
mumbel
e024e6536d tricore analysis 2024-03-05 22:25:15 -06:00
mumbel
9a22180efa Add issing ELF reloc 2024-03-05 22:19:27 -06:00
ghidra1
4fb1f03a85 GP-4397 Revised ELF R_PPC_ADDR16_LO and R_PPC_ADDR16_HA processing 2024-03-05 19:26:22 -05:00
mumbel
c4a165c6cc SPARC: Update missing relocation enum types and order by value 2024-03-02 14:51:02 -06:00
Dan
289c5c90fa GP-3838: Add qemu+gdb launcher. 2024-03-01 12:36:13 -05:00
AltimorTASDK
ecd7321043
Fix FDIVRP freg,ST0 too 2024-03-01 04:39:55 -05:00
AltimorTASDK
c1debd3c94
Fix FDIVP freg,ST0 2024-03-01 03:35:53 -05:00
caheckman
3f537e3aa9 Remove &lt; and &gt; encodings 2024-02-29 16:32:45 +00:00
Ryan Kurtz
f6fea70d7f Merge remote-tracking branch 'origin/GP-3535_ryanmkurtz_swift--SQUASHED' 2024-02-26 11:32:49 -05:00
Ryan Kurtz
32a0cf750b GP-3535: Improved Swift support 2024-02-26 11:31:24 -05:00
Ryan Kurtz
5690528835 Merge remote-tracking branch 'origin/patch' 2024-02-23 06:45:15 -05:00
Ryan Kurtz
7c242e31bb Merge remote-tracking branch
'origin/GP-4319_emteere_PR-5757_esaulenka_fix_Tricore_CallConv' into
patch (Closes #5757)
2024-02-23 06:42:18 -05:00
emteere
cd4b0b1a72 GP-4319 updated calling convention with larger sizes and allow floats 2024-02-23 00:22:49 -05:00
emteere
e1a2362b4f GP-4319 minor improvements 2024-02-22 15:01:58 -05:00
Ryan Kurtz
0820d96ec4 Merge remote-tracking branch 'origin/patch' 2024-02-15 11:45:24 -05:00
Ryan Kurtz
de2a5e03db Merge remote-tracking branch
'origin/GP-3851_ghidorahrex_AARCH64_pair_overwrite_fix--SQUASHED' into
patch (Closes #5791)
2024-02-15 11:37:26 -05:00
ghidorahrex
d812c6a43d GP-3851: Fixed aarch64 pair instructions to prevent overwrite 2024-02-14 17:06:32 -05:00
Ryan Kurtz
17a4f8fd74 Merge remote-tracking branch 'origin/GP-4239_ghidra1_ElfRelocationTypeEnum--SQUASHED' 2024-02-12 16:47:36 -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
Alexey Esaulenko
7ceb740e64 Tricore, improve calling conventions for non-dword arguments 2024-02-12 15:33:37 +00:00
Ryan Kurtz
a9ef8804ef Merge remote-tracking branch
'origin/GP-4254_ghidorahrex_PR-6113_marcushall42_xtensa_bany_fix'
(Closes #6113)
2024-02-08 13:17:45 -05:00
Ryan Kurtz
f755681538 Merge remote-tracking branch 'origin/patch' 2024-02-08 13:16:46 -05:00
Ryan Kurtz
3d5f8a5793 Merge remote-tracking branch 'origin/GP-4273_ghidorahrex_z80_inc_fix'
into patch (Closes #2247, Closes #2277)
2024-02-08 13:11:59 -05:00
Ryan Kurtz
b09dcee3d7 Merge remote-tracking branch
'origin/GP-3889_ghidorahrex_6x09_clr_carry_clear' into patch
(Closes #5838)
2024-02-08 13:09:10 -05:00
Ryan Kurtz
a0fbd7905b Merge remote-tracking branch
'origin/GP-3892_ghidorahrex_arm_instruction_overwrite_fix' into patch
(Closes #5822)
2024-02-08 13:06:02 -05:00
Sebastien Bechet
6b2bcd181a #2247 bug 2024-01-30 16:10:33 +00:00
ghidorahrex
c083da61f0 GP-3892: Fix ARM/ potential register overwrite in strex* instructions 2024-01-30 15:37:25 +00:00
ghidra1
f01a7172c7 Merge remote-tracking branch 'origin/patch' 2024-01-29 16:04:20 -05:00
ghidra1
e1de689d2d GP-0 Corrected missing breaks from switch case statement for Xtensa ELF
relocation handler
2024-01-29 16:01:58 -05:00
Ryan Kurtz
e73d2088e4 Merge remote-tracking branch 'origin/patch' 2024-01-25 14:08:08 -05:00
Ryan Kurtz
8327ebd0a1 Merge remote-tracking branch 'origin/GP-4265_ghidra1_ElfX86-64_GotAllocation' into patch 2024-01-25 14:04:28 -05:00
ghidra1
7608a6e9a5 GP-4265 corrected ELF x86-64 GOT allocation bug 2024-01-25 12:32:46 -05:00
Ryan Kurtz
36ed4d3b34 Merge remote-tracking branch 'origin/patch' 2024-01-25 12:26:52 -05:00
Ryan Kurtz
da9e53ac4c Merge remote-tracking branch
'origin/GP-4249_ghidorahrex_x86_fbstp_fbld_fix' into patch
(Closes #2426)
2024-01-25 12:18:32 -05:00
ghidorahrex
d1f017f92d GP-4254: Updated Xtensa languages to version 4.1 2024-01-25 14:56:43 +00:00
ghidorahrex
667e14af07 GP-3889: Fixed 6x09 clr instruction not clearing carry flag 2024-01-25 14:45:04 +00:00
Ryan Kurtz
2ee2c56e38 Merge remote-tracking branch 'origin/patch' 2024-01-24 06:51:07 -05:00
Ryan Kurtz
47f5627fac Merge remote-tracking branch
'origin/GP-4105_ghidorahrex_x86_movdir64b--SQUASHED' into patch
(Closes #5997)
2024-01-24 06:44:11 -05:00
ghidorahrex
71b09335f0 GP-4105: Added support for x86 MOVDIR64B instruction 2024-01-23 11:54:31 -05:00
Ryan Kurtz
8b04dcee67 Merge remote-tracking branch 'origin/patch' 2024-01-23 11:52:51 -05:00
Ryan Kurtz
25f07a2a05 Merge remote-tracking branch
'origin/GP-4204_ghidorahrex_PR-5712_P4ulBr4ndt_tricore_tc176x_can_mo'
into patch (Closes #5712)
2024-01-23 11:48:47 -05:00
marcus hall
cb1e176201 Remove 3-byte sext special case which isn't really possible. 2024-01-23 09:40:19 -07:00
Ryan Kurtz
1e0145401b Merge remote-tracking branch 'origin/patch' 2024-01-19 14:55:46 -05:00
ghidorahrex
6481044958 GP-4249: Renamed pcodeops for x87 fbstp and fbld instructions 2024-01-19 19:51:23 +00:00
Ryan Kurtz
4f4933843a Merge remote-tracking branch
'origin/GP-3787_ghidorahrex_PowerPC_VLE_branch_CR_operand--SQUASHED'
into patch (Closes #5246)
2024-01-19 14:50:32 -05:00
ghidorahrex
8371098d19 GP-3787: Added CR operand to PowerPC VLE conditional branches 2024-01-19 19:32:27 +00:00
Ryan Kurtz
96ae825dce Merge remote-tracking branch 'origin/patch' 2024-01-19 14:16:03 -05:00
Ryan Kurtz
45b0d98108 Merge remote-tracking branch 'origin/GP-4228_ghidra1_X86_64_ElfGotAllocation' into patch 2024-01-19 14:09:10 -05:00
Ryan Kurtz
738b176be6 Merge remote-tracking branch
'origin/GP-3788_ghidorahrex_powerpc_vle_loadstoreHW_idx' into patch
(Closes #5245)
2024-01-19 13:55:21 -05:00
ghidra1
7d9c1c748a GP-4228 Corrected X86-64 ELF GOT allocation for object module import for
R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX relocations
2024-01-18 15:04:12 -05:00
Ryan Kurtz
9b7c60efe2 Merge remote-tracking branch 'origin/patch' 2024-01-18 07:42:01 -05:00
Ryan Kurtz
363ee48dfa Merge remote-tracking branch
'origin/GP-3789_ghidorahrex_PowerPC_move_legacy_instructions' into patch
(Closes #5243)
2024-01-18 06:59:19 -05:00
Ryan Kurtz
8a76c1bb57 Merge remote-tracking branch
'origin/GP-4163_ghidorahrex_PR-6033_jiegec_loongarch_csr_reg_fix' into
patch (Closes #6033)
2024-01-18 06:57:17 -05:00
James
e7f5a8a5a1 GP-4152 msp430 ELF relocation fixes 2024-01-17 19:09:10 -05:00
ghidra1
325c48e904 GP-4152 added ability for ELF extension to specify default image base 2024-01-17 19:08:21 -05:00
James
1e82a772c5 GP-4152 msp430 improvements 2024-01-17 19:08:03 -05:00
marcus hall
df3726dec7 clamps instruction should put result in ar, not just a temporary. 2024-01-12 10:39:17 -07:00
marcus hall
a7cc025eb9 Fix branch sense in "bany" instruction. Add special cases for "sext" of bytes. 2024-01-12 10:05:58 -07:00
Ryan Kurtz
676e60f71b Merge remote-tracking branch
'origin/GP-4183_dev747368_PR-6072_astrelsky_golang_1.21' (Closes #6072)
2024-01-10 12:00:51 -05:00
dev747368
5e18efdd0d GP-4183 add golang 1.21 support 2024-01-10 16:36:47 +00:00
Ryan Kurtz
a9aedc10f5 Merge remote-tracking branch 'origin/patch' 2024-01-05 12:37:08 -05:00
Ryan Kurtz
8de91023dc Merge remote-tracking branch 'origin/GP-4104_ghidorahrex_hcs12_call_ppage_fix--SQUASHED' into patch 2024-01-05 12:31:15 -05:00
ghidorahrex
bc7402b1fa GP-4104: Fixed address offset in HCS12 PPAGE calculation 2024-01-05 10:10:55 -05:00
Ryan Kurtz
1542fc9b52 Merge remote-tracking branch
'origin/GP-4180_ghidra1_ELFSectionRelativeSymbols--SQUASHED'
(Closes #6025)
2024-01-04 09:12:01 -05:00
Ryan Kurtz
c809cf1740 Merge branch 'GP-0_ryanmkurtz_PR-5965_rndtrash_ppc' 2024-01-04 08:57:11 -05:00
Ryan Kurtz
c3b4f5eda0 GP-0: Formatting/Certify. Also removing untested code. 2024-01-04 08:52:58 -05:00
ghidra1
82c2716ba4 GP-4180 revised ELF section symbol extension support for MIPS 2024-01-03 17:55:57 -05:00
Ryan Kurtz
23516964e3 CoffLoader improvements 2024-01-02 11:15:21 -05:00
Ryan Kurtz
fb165bd2c5 Merge remote-tracking branch 'origin/patch' 2023-12-22 15:24:13 -05:00
ghidorahrex
e8151da0fc GP-3181: Fixed HC05 ldefs and calling conventions for HC05/HCS08 2023-12-22 18:36:28 +00:00
Ryan Kurtz
dfc8e6b63d Merge remote-tracking branch 'origin/Ghidra_11.0' 2023-12-19 07:52:56 -05:00
Jiajie Chen
554b7f198e GP-0 Fix csrxchg definition for LoongArch 2023-12-19 10:23:31 +08:00
Jiajie Chen
ef6469d8cc GP-0 Add missing csr77 to LoongArch 2023-12-19 10:23:06 +08:00
ghidra1
d156a09c29 Merge remote-tracking branch 'origin/GP-3804_loongarch_relocations--SQUASHED' into Ghidra_11.0 2023-12-18 12:59:18 -05:00
ghidorahrex
b6ca0ff46a GP-3804: Added Loongarch elf relocations 2023-12-18 12:58:28 -05:00
ghidra1
04b9f0258c Merge remote-tracking branch 'origin/GP-3068_emteere_AddPPC_e500mc' into Ghidra_11.0 2023-12-18 12:52:43 -05:00
Ryan Kurtz
05070bcd9d Merge remote-tracking branch 'origin/Ghidra_11.0' 2023-12-18 10:00:35 -05:00
ghidra1
0b535fcf82 GP-0 update to __rustcall param join handling 2023-12-15 21:09:18 -05:00
Ryan Kurtz
e05c1d1600 Merge remote-tracking branch 'origin/GP-4149_James_frame_descriptor_entry_16_bit' 2023-12-15 17:10:24 -05:00
emteere
ec023b3ffe GP-3068 Adding in pure 32-bit PPC e500mc processor spec 2023-12-15 02:55:39 +00:00
James
d39a5e8365 GP-4149 frame descriptor entry fix and msp430 improvements 2023-12-14 20:22:16 +00:00
ghidorahrex
c497b8a52b GP-3999: Reformatted sleigh for ppc vlee_rlwi(nm/mi) instructions 2023-12-14 15:17:39 -05:00
Alexey Esaulenko
7a8a9534ee PowerPC: additional MPC55xx float-point instructions 2023-12-14 15:17:37 -05:00
Alexey Esaulenko
cf373686d1 PowerPC: e_rlwinm fix remove unreachable block warning 2023-12-14 15:17:35 -05:00
Alexey Esaulenko
62561121aa PowerPC: float compare should set great that flag, but not overflow 2023-12-14 15:17:33 -05:00
Alexey Esaulenko
f4c042544a PowerPC: XOR can be used in VLE mode 2023-12-14 15:17:31 -05:00
ghidra1
11516a1682 Merge branch 'GP-4139_ghidra1_DemangledFunctionSourceType' into Ghidra_11.0 2023-12-14 15:05:22 -05:00
ghidra1
d4c854ddbc GP-4139 Improve demanglers function signature source type applied.
Renamed rustcall to __rustcall.  Minor fix to legacy rust demangling for
namespaces.
2023-12-14 14:54:28 -05:00
ghidra1
fb7d2f4227 Merge remote-tracking branch 'origin/GP-4055_ghidorahrex_avr8_des_hflag'
into Ghidra_11.0 (Closes #5235)
2023-12-14 08:55:59 -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
mumbel
111f897f61 superh fixes 2023-12-11 16:27:54 -06:00
James
ea7dedde14 GP-3875 fixed mips ei and di handling of zero register 2023-12-11 19:16:46 +00:00
ghidra1
9b53f58010 GP-4118 Corrected failure caused by bad ELF GOT allocation during x86-64
object module import (Closes #5961)
2023-12-06 16:52:06 -05:00
ghidra1
714b1b1350 Merge branch 'GP-2412_Rust-final' 2023-12-01 16:06:03 -05:00
1635321
921247f640 GP-2412: Improved support for Rust binaries 2023-12-01 16:04:52 -05:00
dev747368
272c6a4d1f GP-2109 Golang analyzer improvements, gostrings.
Add GolangStringAnalyzer.

Improved recovery of function signatures (from method and interfacemetadata, also via stack trace info).

Golang package paths are used as Ghidra namespace.

Propagate RTTI from some built-in runtime alloc methods.
2023-11-30 18:59:13 +00:00
Ryan Kurtz
9b0e95bccf Merge remote-tracking branch 'origin/patch' 2023-11-30 11:20:06 -05:00
Ryan Kurtz
f819a00d45 Merge remote-tracking branch
'origin/GP-3784_ghidorahrex_x86_reimplement_test_registers' into patch
(Closes #5662)
2023-11-30 11:17:43 -05:00
ghidorahrex
ec60b7da13 GP-3784: Reimplemented x86 test register support. 2023-11-30 15:20:38 +00:00
Ryan Kurtz
d686733b35 Merge remote-tracking branch
'origin/GP-4049_emteere_RemovePCValueDependence' (Closes #5891)
2023-11-30 09:59:45 -05:00
Ryan Kurtz
f934dc9529 Merge remote-tracking branch 'origin/GP-3948_emteere_MipsTrapTEQ' 2023-11-30 09:57:41 -05:00
Ryan Kurtz
2965ec9a26 Merge remote-tracking branch 'origin/GP-4018_emteere_MXCSR_x86register--SQUASHED' 2023-11-30 08:26:00 -05:00
Ryan Kurtz
0e9c36b513 Merge remote-tracking branch 'origin/patch' 2023-11-30 08:23:00 -05:00
Ryan Kurtz
738fde68d0 Merge remote-tracking branch
'origin/GP-3387_Ghidorahrex_PR-5205_edmcman_68000_fint' into patch
(Closes #5205)
2023-11-30 08:19:50 -05:00
emteere
7cf82f82f5 GP-4049 removed incorrect dependence on PC having a value in superh and
68000
2023-11-30 01:36:50 +00:00
emteere
78bbf89075 GP-3948 MIPS TEQ zero,zero changed to trap always 2023-11-30 00:52:36 +00:00
emteere
4a68bdc58e GP-4018 added MXCSR x86 mmx status register to compiler spec globals list 2023-11-29 16:43:18 -05:00
ghidorahrex
28e4ce3d45 GP-3387: Added rounding mode to fint pcodeop 2023-11-29 16:37:12 +00:00
Edward J. Schwartz
38ef50b1b7 Use pcode op for fint instead of undefined 2023-11-29 16:34:33 +00:00
Edward J. Schwartz
85ff068e20 Fix sleigh for fint/fintrz
Without additional machinery, fint can't be precisely modeled because the rounding mode is controlled by the state.  fintrz always rounds to zero.  I think whoever implemented fint probably meant to implement fintrz.
2023-11-29 16:34:32 +00:00
Ryan Kurtz
cc23b93d06 Merge remote-tracking branch 'origin/GP-3786_ghidorahrex_6x09_stu_fix'
(Closes #5671)
2023-11-29 11:09:58 -05:00
ghidra1
37a2f5e478 GP-1062 Update Xtensa sinc file allocations 2023-11-21 17:29:17 -05:00
ghidorahrex
79d775e6a5 GP-4055: Corrected AVR 8 Hflag usage in DES instruction 2023-11-21 14:06:23 +00: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
roblabla
80d92aa32f GP-0: Remove executable bit on various non-executable files
(Closes #5943)
2023-11-20 08:57:02 -05:00
Ryan Kurtz
7df3fd39c8 Merge remote-tracking branch
'origin/GP-1062_ghidorahrex_PR-1407_and_5442_Xtensa' (Closes #1407,
Closes #5442)
2023-11-20 06:53:50 -05:00
ghidra1
e65bede08b GP-0 Corrected loongarch ilp32f pentry sizing issue. Improved cspec
parse error reporting to include line number.
2023-11-17 10:33:36 -05:00
Ivan Kuzmenko
d543ca8e3d Add support for PowerPC COFF Relocations 2023-11-17 07:32:11 +03:00
ghidorahrex
21e74c4d42 GP-4047: Fixed RISC-V custom instruction sleigh patterns 2023-11-16 16:53:58 +00:00
Ryan Kurtz
7c686cbfb7 Merge remote-tracking branch 'origin/GP-3938_PrototypeModelRules' 2023-11-15 06:30:05 -05:00
Ryan Kurtz
86da74d01a GP-3211: Fixing compilation error 2023-11-14 12:46:59 -05:00
Ryan Kurtz
0f09d6fed3 Merge remote-tracking branch 'origin/GP-3211_ghidorahrex_loongson_proc'
(Closes #5083)
2023-11-14 12:20:33 -05:00
Ryan Kurtz
b0f3d99545 Merge remote-tracking branch 'origin/patch' 2023-11-09 13:12:14 -05:00
ghidra1
bb4a9ccbb1 GP-0 Corrected incorrect retained MIPS relocation length for 32-bit
R_MIPS_JUMP_SLOT
2023-11-09 12:24:49 -05:00
Ryan Kurtz
ddf36db434 Merge branch 'GP-0_ryanmkurtz_PR-5315_Ninja3047_fix-ppc-cfa-value' 2023-11-09 12:15:09 -05:00
caheckman
191371675a GP-3938 PrototypeModel rules 2023-11-08 19:50:55 +00:00
Ryan Kurtz
b50503eada Merge remote-tracking branch 'origin/patch' 2023-11-03 13:08:14 -04:00
Ryan Kurtz
f95470590e Merge remote-tracking branch
'origin/GP-3879_ghidorahrex_fix_clz_cls_instr--SQUASHED' into patch
(Closes #5790)
2023-11-03 13:03:34 -04:00
Ryan Kurtz
50eaaea01e Merge remote-tracking branch
'origin/GP-3677_ghidorahrex_x86_pop_sp_fix--SQUASHED' into patch
(Closes #4282)
2023-11-03 12:59:58 -04:00
ghidorahrex
3d1b865543 GP-3879: Implemented lzcount in several instructions 2023-11-03 12:30:51 -04:00
ghidorahrex
6d7dc046f0 GP-3677: Fixed pop instructions with stack-pointer-based operands 2023-11-03 12:30:13 -04:00
ghidra1
1ba77f6902 Merge remote-tracking branch 'origin/patch' 2023-10-30 10:55:43 -04:00
ghidra1
6f37dc4007 GP-0 Added missing x86 old language v2-v3 translators and corrected old
language file parse bug
2023-10-30 10:54:16 -04:00
Ryan Kurtz
7820e9b203 Merge remote-tracking branch 'origin/patch' 2023-10-27 19:11:17 -04:00
ghidra1
87bd074603 GP-0 Removed use of obsolete MODULE DEPENDENCY from Module.manifest 2023-10-27 18:22:40 -04:00
emteere
0a3ebd1887 GP-1062 fixed commented out depbits line 2023-10-23 23:03:13 +00:00
emteere
5edfc517d8 GP-1062 Doctored default calling convention to be compatible with CALL0
in most cases.  minor comment fixes
2023-10-23 22:59:48 +00:00
ghidra1
348fb5becd GP-3956 corrected ST and MM addressing and overlap 2023-10-20 14:54:18 -04:00
Ryan Kurtz
fae64a82c0 Merge remote-tracking branch 'origin/patch' 2023-10-13 07:16:42 -04:00
James
106ec7c244 GP-3915 adjust callfixup in x86-64-win.cspec 2023-10-05 16:42:34 +00:00
Ryan Kurtz
4443aea353 Merge remote-tracking branch 'origin/patch' 2023-10-03 11:05:47 -04:00
Ryan Kurtz
3410dd5936 Merge remote-tracking branch 'origin/GP-3724_ghidorahrex_arm_idx_cbz' into patch 2023-10-03 11:00:03 -04:00
Ryan Kurtz
54e0ab1a38 Merge remote-tracking branch 'origin/Ghidra_10.4' 2023-09-28 13:40:51 -04:00
ghidra1
ebaaed7d53 GP-0 added callfixup for get_pc_thunk.bp 2023-09-27 13:39:51 -04:00
Ryan Kurtz
98b162ad9d Merge remote-tracking branch 'origin/Ghidra_10.4' 2023-09-22 09:31:17 -04:00
James
034a0b28ad change global ranges in cspecs
GP-3863 adjust AARCH64 volatile reg range
2023-09-22 09:24:14 -04:00
emteere
ef76cd31c0 GP-3211 fixed cssrd->csrrd cssrw->csrrw 2023-09-21 01:29:43 +00:00
emteere
4795e5c5a4 GP-3211 added initial analyzer 2023-09-21 00:15:42 +00:00
emteere
e509a08beb GP-3211 lower case names, changed PC size to match address space 2023-09-20 18:44:35 +00:00
William Tan
0b3801a5a5
typo: setMinpeculativeOffset -> setMinSpeculativeOffset 2023-09-20 13:24:01 -04:00
James
f030ecb874 GP-3822 eliminate some unnecessary LOAD ops (Discussion #5433) 2023-09-18 17:33:57 -04:00
emteere
69caba1dcb GP-3845 Fixed creation of undefined data type for PPC read/write
references
2023-09-15 18:58:11 +00:00
emteere
141484c3a2 GP-3211 break should not continue to disassemble by default. added
compued goto to break instruction
2023-09-12 19:57:09 +00:00
ghidorahrex
1ba4d49e5c GP-3211: Fixed issue with gdb external tool naming in loongarch 2023-09-12 15:13:58 +00:00
Alexey Esaulenko
07a0796987 Fix Tricore DEXTR instruction 2023-09-08 11:26:23 +04:00