Commit Graph

1094 Commits

Author SHA1 Message Date
ghidorahrex
55ca546b86 GP-2650: fixed issues with 6x09 jump calculations. 2023-01-19 15:37:30 +00:00
ghidra1
c2440f9062 Merge remote-tracking branch 'origin/GP-2984_ghidra1_x86_GOTPCREL--SQUASHED' 2023-01-19 09:13:45 -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
James
37984567df GP-3023 correct SHUFPS and PSHUFD in ia.sinc 2023-01-18 14:38:35 +00:00
Ryan Kurtz
82ac8f7143 Merge remote-tracking branch 'origin/patch' 2023-01-13 08:17:56 -05:00
Ryan Kurtz
f1dc157f04 Merge remote-tracking branch 'origin/GP-2245_ghidorahrex_powerpc_mtsmsr_fix--SQUASHED' into patch 2023-01-13 08:08:27 -05:00
ghidorahrex
32eadb284f GP-2245 Corrected semantics of the mtmsr[d] instructions in powerpc 2023-01-13 07:07:00 -05:00
Andrew Strelsky
0bbb92eb7a
x86-64 riprel fix 2023-01-12 12:06:31 -05:00
Ryan Kurtz
68c29a7e41 Merge remote-tracking branch
'origin/GP-2565_ghidorahrex_PR-4481_pjsoberoi_v850_ex_float'
(Closes #4453, Closes #4481)
2023-01-10 05:32:02 -05:00
ghidorahrex
b1d58c708d GP-2565: Broke apart long bitstring in V850 sleigh module 2023-01-09 18:02:50 +00:00
Ryan Kurtz
21f2e66227 Merge remote-tracking branch
'origin/GP-2981_ghidra1_PR-1942_mumbel_x86_PC_Relative' (Closes #1942)
2023-01-05 09:22:27 -05:00
ghidra1
f08ee2f8b1 GP-2981 corrections to PR-1942 semantics for constant export 2023-01-04 16:51:30 -05:00
mumbel
c973d773d0 RIP and EIP relative display
The display should print the register and immediate offset
instead of the relative value.
2023-01-04 16:14:43 -05:00
Ryan Kurtz
55124ff249 Merge remote-tracking branch 'origin/patch' 2022-12-28 09:02:06 -05:00
Ryan Kurtz
70a155cb70 GP-0: Using TaskMonitor.DUMMY instead of deprecated
TaskMonitorAdapter.DUMMY_MONITOR
2022-12-28 08:06:16 -05:00
Ryan Kurtz
8c304d01be Merge remote-tracking branch 'origin/patch' 2022-12-21 10:53:32 -05:00
Ryan Kurtz
093c574947 Merge remote-tracking branch
'origin/GP-2946_Dan_asmThumbTbbPcRel--SQUASHED' into patch
(Closes #4824)
2022-12-21 10:49:19 -05:00
Dan
5ced5e61cb GP-2946: Correct print piece in ARM/THUMB pc-relative tbb and tbh instructions 2022-12-21 10:30:06 -05:00
Ryan Kurtz
ae6322ba36 Merge remote-tracking branch
'origin/GP-2937_ghidorahrex_PR-4664_RootCubed_fsel_fix_2' (Closes #4664)
2022-12-20 13:30:17 -05:00
RootCubed
c422741282 Fix implementation of fsel instruction 2022-12-20 14:39:56 +01:00
Ryan Kurtz
c5e93d29cb Merge remote-tracking branch 'origin/patch' 2022-12-20 06:58:38 -05:00
Ryan Kurtz
7ddb3b4508 Merge remote-tracking branch
'origin/GP-2882_ghidorahrex_PR-4553_rpitasky_z80_adc_flags' into patch
(Closes #4553)
2022-12-20 06:23:50 -05:00
ghidorahrex
1cfb8d3467 GP-2959: Fixed issue with LDS and VEX prefix colliding 2022-12-19 16:23:12 +00:00
Ryan Kurtz
fbd545794e Merge remote-tracking branch
'origin/GP-2093_ghidorahrex_missing_x87_opcodes--SQUASHED'
(Closes #4262)
2022-12-12 13:17:54 -05:00
ghidorahrex
71dcf8ecd6 GP-2093: Implemented missing x87 opcodes 2022-12-12 13:04:13 -05:00
Rubens Brandao
8bbb2aa97f fix: vld/vst arm instructions parsing 2022-12-11 10:20:27 -03:00
Ryan Kurtz
86917faca5 Merge remote-tracking branch
'origin/GP-2706_ghidorahrex_PR-4638_Tim---_fix-arm-cortex-vectors'
(Closes #4638)
2022-12-05 11:23:48 -05:00
Ryan Kurtz
887c2f66f0 Merge remote-tracking branch 'origin/patch' 2022-12-05 11:20:58 -05:00
ghidorahrex
1848c1a6f4 GP-2197: Fixed cspec metatype pentry ordering. 2022-12-05 15:29:40 +00:00
ghidorahrex
0e1e607317 GP-2197: Corrected COLDFIRE scalefactor consistency 2022-12-05 15:29:39 +00:00
ghidorahrex
f5b6973ea8 GP-2197 code review fixes 2022-12-05 15:29:38 +00:00
ghidorahrex
362bb9dfa3 GP-2197: Added additional EMACS instructions to coldfire 2022-12-05 15:29:37 +00:00
emteere
947bf43cb5 GP-2197 Adding initial EMAC instructions and .cspec changes for
D0,A0,D1,A1
2022-12-05 15:25:31 +00:00
ghidra1
f102d5be0f GP-0 corrected syntax error in mx51.pspec 2022-12-02 08:22:49 -05:00
ghidra1
03e615ab8f GP-0 corrected syntax error in mx51.pspec 2022-12-02 08:17:26 -05:00
Ryan Kurtz
3f503d814b Merge remote-tracking branch 'origin/patch' 2022-12-02 00:57:45 -05:00
Ryan Kurtz
1c3d0f9f74 Merge remote-tracking branch 'origin/GP-2878_emteere_riscv_patterns--SQUASHED' into patch 2022-12-02 00:50:35 -05:00
emteere
9aa6b6aa6b GP-2910 Add volatile range tag to 8051 bit mapped registers 2022-12-02 00:54:13 +00: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
Ryan Kurtz
0d72cce015 Merge remote-tracking branch 'origin/GP-2791_pcode_override_tests--SQUASHED' 2022-11-30 12:18:44 -05:00
James
d470adfde2 GP-2971 added tests for PcodeEmit 2022-11-30 09:32:24 -05:00
Michał Kowalczyk
20ec4e9446 Fix nor.t output size in TriCore Sleigh 2022-11-30 15:07:50 +01:00
Ryan Kurtz
ad19527139 Merge remote-tracking branch
'origin/GP-2374_ghidorahrex_PR-4210_LemonHaze420_superh_ext_float'
(Closes #4210)
2022-11-29 13:52:00 -05:00
ghidorahrex
f9eacc2a2a GP-2872: Added instruction variants for ARM v4/5t bl[x] lr instruction. 2022-11-23 20:11:27 +00:00
ghidorahrex
a0babb47e7 GP-2812: Corrected issue with ARMv5/v4 not setting ARMcond and possible regression issues for ARMv5t/v4t 2022-11-10 15:22:21 -05:00
ghidorahrex
1e1ba436f8 GP-2374: Fix for movua and fsca 2022-11-04 19:33:15 +00:00
ghidorahrex
15223fd4f5 GP-2718: Fixed vmov disassembly regression 2022-10-31 13:44:14 +00:00
emteere
ba96e7841e GP-2734 added opinions for MIPS EABI and missing o32, n32, o64 2022-10-27 17:44:32 -04:00
James
5796680f12 GP-2734 adjusted mips eabi cspecs 2022-10-27 17:44:31 -04:00
Luke Craig
b590646a3b change offset stack in le to 0 2022-10-27 17:44:29 -04:00
Luke Craig
31e2875bd5 added support for MIPS 32 eabi 2022-10-27 17:44:28 -04:00
ghidra1
8eeeeb87ef GP-2536 corrected merge issue 2022-10-27 17:10:50 -04:00
ghidra1
fa932fee76 Merge remote-tracking branch
'origin/GP-2536_ghidorahrex_ARM_addrmode3_fix' into Ghidra_10.2 (Closes
#4582)
2022-10-27 16:51:20 -04:00
ghidra1
e1eb6dc7df Merge remote-tracking branch
'origin/GP-2718_ghidorahrex_arm_instruction_conflicts--SQUASHED' into
Ghidra_10.2

Conflicts:
	Ghidra/Processors/ARM/data/languages/ARMneon.sinc
2022-10-27 16:49:41 -04:00
ghidorahrex
850e44f7c6 GP-2718: Resolved several open ARM instruction conflicts 2022-10-27 14:55:20 -04:00
ghidra1
a089e27cde GP-2678 corrected ELF R_MIPS_REL32 relocation processing for 64-bit
architecture
2022-10-25 18:08:04 -04:00
ghidra1
2803472278 GP-2744 correct ELF symbol table processing in absence of associated string table 2022-10-21 12:44:04 -04:00
ghidra1
89f5e5d4e9 Merge remote-tracking branch 'origin/GP-2714_ARM_external_issue--SQUASHED' into Ghidra_10.2 2022-10-18 18:26:29 -04: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
c7d77ab2e7 Merge remote-tracking branch 'origin/GP-2708_ghidorahrex_ARMNeon_vmov_fix' into Ghidra_10.2 2022-10-18 18:16:08 -04:00
ghidra1
3f3bfecdd4 Merge branch 'GP-2703_ghidra1_ElfStaticRelRO' into Ghidra_10.2 2022-10-17 18:44:46 -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
ghidorahrex
1b68950ca6 GP-2708: Fix for vmov instruction not assembling correctly. 2022-10-17 19:32:52 +00:00
ghidra1
480f1e3a8b Merge branch 'GP-1790_AARCH64_v9' 2022-10-14 20:18:43 -04:00
ghidra1
9b8ddec292 GP-1790 marked unimplemented pcode for ARMv8.sinc 2022-10-14 20:14:48 -04:00
ghidorahrex
0175606ad4 GP-1790: Spec'd out new aarch64 and arm32 instructions up to v9 2022-10-14 20:04:45 -04:00
emteere
d539d5da59 GP-1790 First Scrape of v9 manual 2022-10-14 20:03:36 -04:00
ghidra1
d22844d25e Merge remote-tracking branch 'origin/GP-2696_ghidorahrex_ARMthumb_BIC_sbit' 2022-10-14 19:01:37 -04:00
emteere
5b0d7f3ff3 GP-2701 syntax missing in 6502 indirect JMP 2022-10-14 20:40:05 +00:00
ghidorahrex
8e2a52b756 GP-2162 fixed zero register reads in mipsmicro and mips16 2022-10-14 10:47:05 -04:00
ghidorahrex
2bae52d3a5 GP-2696: corrected missing SBIT display piece from ARM thumb BIC 2022-10-14 12:59:19 +00:00
Ryan Kurtz
9ee4383886 Merge remote-tracking branch 'origin/GP-2391_ARmThumb_returndetect--SQUASHED' 2022-10-13 01:15:07 -04:00
Ryan Kurtz
e42c1f1f32 Merge remote-tracking branch
'origin/GP-1979_emteere_CParserChanges--SQUASHED' (Closes #2885,
Closes #2119, Closes #716, Closes #3996, Closes #4184, Closes #4517,
Closes #4377, Closes #1784,  Closes #1455, Closes #1940)
2022-10-13 01:08:43 -04:00
Ryan Kurtz
3df20ad73d Merge remote-tracking branch
'origin/GP-2534_emteere_SharedFunctionContiguousOnByDefault--SQUASHED'
(Closes #678, Closes #4573)
2022-10-13 00:28:10 -04:00
emteere
ffae7232cb GP-1979_emteere better error reporting and handling of newer cspec idioms NoReturn, anonymous function arrays and parameters, #pragma use, Thread_local, Alignas, allow '#' comment out filename, added parsing scripts 2022-10-12 21:50:02 -04:00
Ryan Kurtz
627a7f6c9c Merge remote-tracking branch
'origin/GP-2538_ghidorahrex_atmega256_ports_fix' (Closes #4592)
2022-10-12 13:29:11 -04:00
Ryan Kurtz
224e8daf17 Merge remote-tracking branch 'origin/patch' 2022-10-12 12:57:23 -04:00
emteere
ca5a6204c3 GP-2391 added evaluation of return address, allow thunking addresses to externals. Added new arem thunk pattern. 2022-10-11 18:25:09 -04:00
emteere
019e95530d GP-2534 Turn on shared function contiguous function options, except for
on ARM
2022-10-11 22:20:11 +00:00
emteere
9c73c86fec GP-2534 turn on shared function contiguous function options, except for on ARM 2022-10-11 17:57:55 -04:00
Ryan Kurtz
a9d2bbe506 Merge remote-tracking branch 'origin/GP-2624_ryanmkurtz_loader-refactor' 2022-10-06 11:19:57 -04:00
Ryan Kurtz
9044307d54 Merge remote-tracking branch
'origin/GP-2499_ghidorahrex_avr8_W_register_fix'  (Closes #4516)
2022-10-05 10:21:09 -04:00
Ryan Kurtz
4ed60c8790 Merge remote-tracking branch 'origin/GP-2195_ghidorahrex_PR-4270_agatti_68000-coldfire-bitops' 2022-10-05 09:44:04 -04:00
Ryan Kurtz
56293636d0 GP-2624: Removing library support from a bunch of loaders that shouldn't
have it
2022-10-04 05:46:14 -04:00
Ryan Kurtz
adc3d1b570 Merge remote-tracking branch 'origin/GP-2504_Arm_common_switchpattern--SQUASHED' 2022-10-04 01:43:16 -04:00
emteere
b9496de7f5 GP-2504,GP-2494 Arm switch patterns moved into pattern matching, adding additional pattern, fixed issues in function start patterns and validcode precondition. Added after='ptr'. 2022-10-03 22:02:19 -04:00
Timothée COCAULT
2a7deee122
Fix interrupt vectors on ARM Cortex 2022-10-03 22:13:50 +02:00
Ryan Kurtz
d959fe5cb7 Merge remote-tracking branch 'origin/GP-2553_dev747368_fix_memorybyteprovider_length_take2--SQUASHED' 2022-09-27 00:37:58 -04:00
dev747368
14f5cf93da GP-2553 fix MemoryByteProvider's length() issues
Previously the impl would only return the length of the memory block where the byte provider started, or return 0 if there wasn't a memoryblock at the base address.
Now returns the length of the available memory (in the same addressspace) that is found in the program's memory map, clamped to Long.MAX_VALUE.

Updated users of MemoryByteProvider to use helper methods to create.

Removed ISO9660 format analyzer (that was using MemorbyByteProvider) because we no longer have our own iso format code after switching to Sevenzip.
2022-09-26 12:24:22 -04:00
ghidra1
6056e01f7a GP-2592 corrected MIPS ELF .plt.got markup issue 2022-09-21 14:26:26 -04:00
Ryan Kurtz
6ac0759d2f Merge remote-tracking branch 'origin/GP-2060_lazybinding-dev_Android13--SQUASHED' 2022-09-20 01:06:47 -04:00
Ryan Kurtz
0ed00bdd50 GP-0: Fixing the remainder of the "psuedo" spellings (#4601) 2022-09-20 01:02:00 -04:00
lazybinding-dev
f58070f484 Changes to support android 13 T.
Added Android Version Manager.
2022-09-19 09:41:49 -04:00
Ryan Kurtz
183a487363 GP-0: Fixing typo in 6502.slaspec (Closes #4601) 2022-09-17 02:27:28 -04:00
Ryan Kurtz
79947c37f6 Merge remote-tracking branch
'origin/GP-2014_ghidorahrex_PR-4223_agatti_68000-pack-unpk'
(Closes #4223)
2022-09-16 13:31:35 -04:00
ghidorahrex
937b82b77e GP-2562: Corrected issue with 6x09 extended address bit pattern. 2022-09-16 15:38:13 +00:00
ghidorahrex
9f999c2ffc GP-2536 Corrected ARM addrmode3 bitpatterns 2022-09-16 15:32:57 +00:00
ghidorahrex
8aa8a3c7ec GP-2538: Corrected port addresses for atmega256 2022-09-12 17:42:46 +00:00
Ryan Kurtz
9088fd7885 Merge remote-tracking branch
'origin/GP-275_lazybinding-dev_Android_MultiDex_Support--SQUASHED'
(Closes #4276)
2022-08-30 12:42:37 -04:00
lazybinding-dev
15b59f82c3 Added support for multidex. Created APK loader to load all DEX files at one time and link method_lookup sections. APK loader uses the manifest file to determine Android version. Fixed a bug loading CDEX from Android 12. 2022-08-30 12:35:52 -04:00