Commit Graph

933 Commits

Author SHA1 Message Date
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
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
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
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
ghidorahrex
66c727bb38 GP-2014: review comments 2022-07-22 19:31:09 +00:00
ghidra1
2e7fce3336 Merge remote-tracking branch 'origin/patch' 2022-07-22 15:11:51 -04:00
ghidra1
dedaaf6cd5 Merge branch 'GP-2272_ghidra_PowerPCe500' into patch 2022-07-22 10:51:58 -04:00
Ryan Kurtz
2131e9d1af Merge remote-tracking branch 'origin/GP-2262_MarshalJavaSide' 2022-07-22 02:19:33 -04:00
ghidra1
0287403adf GP-2272 added PowerPC e500 processor variant 2022-07-21 21:54:06 -04:00
caheckman
aa038c3636 GP-2262 Encoder 2022-07-21 17:48:30 -04:00
ghidra1
51255066a4 GP-2350 Corrected processing of ELF REL type relocations for
R_ARM_JUMP24, R_ARM_CALL and R_ARM_PLT32
2022-07-20 21:40:37 -04:00
ghidra1
5908e79022 GP-2334 improve support for extended ELF section indexing when number of
sections exceed SHN_LORESERVE (0xff00).
2022-07-20 13:18:37 -04:00
Ryan Kurtz
0123c85d9f Merge remote-tracking branch 'origin/patch' 2022-07-20 01:27:48 -04:00
emteere
becb5b8b13 GP-2213 Avr8 compiler spec fixes, function start patterns. 2022-07-19 16:28:54 -04:00
Ryan Kurtz
cdbf926983 Merge remote-tracking branch
'origin/GP-2332_emteere_PR-1533_agatti_6502pspec' (Closes #1533,
Closes #3434)
2022-07-18 10:33:01 -04:00
ghidra1
b23ab30f58 GP-2128 changed relocation table to support multiple relocations at the same address and rely on original FileBytes for relocations when possible instead of storing within relocation. 2022-07-14 15:59:13 -04:00
Ryan Kurtz
fa9f21c738 Merge remote-tracking branch 'origin/GP-2104_ghidorahrex_coldfire_tpf' 2022-07-11 13:05:43 -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
f8ec3ae47e Merge remote-tracking branch 'origin/GP-2092_ghidorahrex_PR-4249_agatti_6502_stack' 2022-07-11 12:38:13 -04:00
Ryan Kurtz
3b7f5b4f30 Merge remote-tracking branch 'origin/patch' 2022-07-11 09:53:27 -04:00
emteere
b34f43e685 GP-2213_emteere support for 24-bit spaces, byte addressed code space, hex importer fixes, AVR8 relocations 2022-07-11 08:06:06 -04:00
Ryan Kurtz
d4a64b6563 Merge remote-tracking branch 'origin/GP-2112_ghidorahrex_msp430_rpt_fix' 2022-07-01 01:18:03 -04:00
Ryan Kurtz
d67bc4508c Merge remote-tracking branch 'origin/GP-2081_ghidra1_TICoffRelocHandler_REBASED--SQUASHED' 2022-06-22 00:32:40 -04:00
ghidra1
994816e875 GP-2081 Refined CoffLoader relocation error logging and added support
for COFF relocation context.
2022-06-21 17:37:53 -04:00
Dan
67d52f4fcc GP-1967: Fix auto-disassembly for object-based traces, incl. framework support. 2022-06-17 11:41:33 -04:00
ghidra1
8e00f4faa4 GP-2041 Added ELF ARM PC Bias import option for relocation processing 2022-06-14 17:42:31 -04:00
Boyan-MILANOV
897bf0736c Add rexprefix=0 to NOP constructor 2022-06-13 19:10:26 +02:00