Commit Graph

959 Commits

Author SHA1 Message Date
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
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
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
ghidorahrex
3ca6b5d2de GP-2499 renamed avr8 W register to R25R24 2022-08-26 13:14:29 +00:00
Ryan Kurtz
ca80be44ff Merge remote-tracking branch 'origin/GP-2480_ghidra1_Sleigh_inst_next2'
Conflicts:
	Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/pcode/exec/trace/TracePcodeEmulatorTest.java
2022-08-25 01:19:02 -04:00
ghidra1
8d4a6c213e GP-2480 Add sleigh compiler support for inst_next2 2022-08-24 17:57:04 -04:00
Ryan Kurtz
0d3002981b Merge remote-tracking branch 'origin/GP-2344_ghidorahrex_PR-4477_pjsoberoi_superh-trapa' 2022-08-22 10:07:24 -04:00
Ryan Kurtz
cc9b2556ce Merge remote-tracking branch 'origin/GP-2484_ghidorahrex_PR-4511_rbran_armeon_ambiguous_fix' 2022-08-22 00:51:43 -04:00
dev747368
8b924f718e GP-2435 fix exception in QueryOptionService if secondary isn't an intstr 2022-08-08 21:36:10 +00:00
Rubens Brandão
cd0e9eb401
Sleigh ARMNeon have an ambiguious pattern
On the Arm Neon sleigh file, the table `vld4Align2` pattern is ambiguous.

The Pattern `TMode=0 & (c1011=1 & c0404=1) | (c1011=2 & c0405=1)`.
Can be interpreted by the parser as: `(TMode=0 & ((c1011=1 & c0404=1)) | (c1011=2 & c0405=1)` or `TMode=0 & ((c1011=1 & c0404=1) | (c1011=2 & c0405=1))`

Similar to the Thumb constructor on line [2432](6fad151b54/Ghidra/Processors/ARM/data/languages/ARMneon.sinc (L2432)), the second interpretation, should be enforced.
2022-08-06 11:08:59 -03:00
Ryan Kurtz
869a97a4ab Merge remote-tracking branch 'origin/GP-2196_ghidorahrex_PR-4344_Boyan-MILANOV_sleigh-x86-improvements' 2022-07-28 10:32:21 -04:00
Paramjot (PJ) Oberoi
37870b97b1
SuperH: Fix trapa Regression
Fix regression in trapa instruction involving PC deref.
2022-07-27 22:37:01 -04:00
ghidra1
0590f9336e Merge remote-tracking branch 'origin/patch' 2022-07-26 18:20:51 -04:00
emteere
627d0c0f8c GP-2355 Added aarch64 thunk pattern 2022-07-26 19:09:52 +00:00
ghidra1
6614ea5c2e GP-0 minor fixes for build 2022-07-26 13:56:39 -04:00
Ryan Kurtz
03b42fc6e4 Merge remote-tracking branch 'origin/patch' 2022-07-26 00:34:13 -04:00
ghidra1
cdeeca79d5 GP-0 Transitioned AttributeId and ElementId to java record 2022-07-25 16:56:58 -04:00
ghidra1
062551ae9a GP-2366 handle MIPS emulation when ISA_VARIANT not enabled 2022-07-25 16:25:30 -04:00
Ryan Kurtz
f6a620c5e0 Merge remote-tracking branch
'origin/GP-713_ghidra1_ELF_PowerPC_EMB_Relocation--SQUASHED'
(Closes #890)
2022-07-25 13:24:44 -04:00
ghidra1
0d54d2d7c3 GP-713 added support for ELF PowerPC R_PPC_EMB_SDA21 relocation. Also revised PowerPC cspecs in support of EABI. 2022-07-25 08:38:40 -04:00
Ryan Kurtz
d64c61014e Merge remote-tracking branch 'origin/patch' 2022-07-25 01:38:12 -04:00
Ryan Kurtz
d940355bde Merge remote-tracking branch
'origin/GP-1716_emteere_HC12_support--SQUASHED' into patch
(Closes #1570, Closes #4016)
2022-07-25 01:18:30 -04:00
emteere
212b2638ea GP-1716_emteere adding HC12,HCS12,HCS12X support, HCS12 elf memory remap at import, fix PC relative addressing 2022-07-25 00:20:40 -04:00
Ryan Kurtz
68088a53a8 Merge remote-tracking branch 'origin/patch' 2022-07-23 01:06:58 -04:00
Ryan Kurtz
931fa8787b Merge remote-tracking branch 'origin/GP-2355_emteere_AARCH64ilp32_SQUASHED' into patch 2022-07-23 01:01:57 -04:00
emteere
35c013e109 GP-2355 added support for AARCH64 ilp32 2022-07-22 17:20:26 -04:00