174 Commits

Author SHA1 Message Date
Dan
9d186a3e30 GP-5976: Implement constant folding and other optimizations in JIT emulator. 2026-09-02 18:36:58 +00:00
Ryan Kurtz
ad8f879a86 Merge remote-tracking branch 'origin/GP-6976_James_cold_symbols_elf_files--SQUASHED' 2026-07-22 11:13:45 -04:00
James
221ad21bed GP-6976 handle .cold symbols in ELF files 2026-07-22 09:23:05 -04:00
Ryan Kurtz
76e768a06e Merge remote-tracking branch 'origin/GP-6787_Dan_emulateFunction--SQUASHED' 2026-07-01 14:30:09 -04:00
Dan
427d857d51 GP-6787: Add 'Emulate Function' action and dialog. 2026-07-01 18:28:31 +00:00
Ryan Kurtz
2539d08de0 Merge remote-tracking branch 'origin/patch' 2026-06-30 11:39:55 -04:00
Ryan Kurtz
4d90198e23 Merge remote-tracking branch 'origin/GP-6914_ghidorahrex_powerpc_v3.0_inst_add--SQUASHED' into patch 2026-06-30 11:33:49 -04:00
ghidorahrex
720b1a5f91 GP-6914: Added missing PowerPC v3.0 and v3.0B/C instructions. 2026-06-30 11:27:49 -04:00
Ryan Kurtz
47e7ca9cc2 Merge remote-tracking branch 'origin/patch' 2026-06-17 10:49:32 -04:00
emteere
8cdec9bbf6 GP-6989 e500mc stack offset adjustment 2026-06-15 20:08:40 +00:00
Ryan Kurtz
81d30ff3a9 Merge remote-tracking branch 'origin/Ghidra_12.1' 2026-04-29 06:48:53 -04:00
Ryan Kurtz
4cb4adb23c Merge remote-tracking branch
'origin/GP-5508_ghidorahrex_PR-6827_v-p-b_ppc-lq-fix' into Ghidra_12.1
(Closes #6827)
2026-04-29 06:39:26 -04:00
Ryan Kurtz
db7e56f0ca Merge remote-tracking branch 'origin/Ghidra_12.1' 2026-03-19 08:35:17 -04:00
Dan
bcc984bced GP-0: Fix more test config/build issues. 2026-03-19 12:30:30 +00:00
Ryan Kurtz
210be332cd Merge remote-tracking branch 'origin/Ghidra_12.1' 2026-03-18 08:28:49 -04:00
Dan
fa23479747 GP-4241: Port EmulateInstructionStateModifiers to PcodeUseropLibraryFactories. 2026-03-18 12:09:45 +00:00
dev747368
1c59d2e56d GP-6434 improve finding rust signature in Elf binaries
check the .comment section first before searching for byte signature.
2026-03-10 21:18:39 +00:00
Mate Kukri
be9b45ce9e PowerPC: s/DataCaseBlockSetToZero/DataCacheBlockSetToZero/
This is pretty obvious typo, the actual name of the operation is "data
cache block set to zero".

Signed-off-by: Mate Kukri <km@mkukri.xyz>
2026-03-08 19:29:38 +00:00
ghidorahrex
ac09f86383 GP-5508: Remove unused token pieces 2026-03-04 12:05:06 +00:00
b
ab08578711 Fix PPC STQ negative offsets 2026-03-04 11:23:38 +00:00
b
65a848c4d1 Reusing dqPlusRaOrZeroAddress for EA calculation 2026-03-04 11:23:37 +00:00
b
86c31bb5d8 Removed PPCAS-specific decoding 2026-03-04 11:23:35 +00:00
b
2037480b4e Fix LQ instruction to support signed offsets
Based on the Power ISA manual sign extended DQ<<4 is added to RA to
get source EA.
2026-03-04 11:23:34 +00:00
Ryan Kurtz
aa8e098ad5 Merge remote-tracking branch
'origin/GP-6268_ghidorahrex_PR-8821_0dinD_altivec-vadduws' into patch
(Closes #8821)
2026-02-11 05:45:54 -05:00
Goatman13
c0bc9a882b PowerPC VLE: Fix se_blrl flow
Opcode se_blrl is branch link register and link. Treating it as a return break flow and is wrong. Non VLE is already correct.
2026-01-26 19:28:15 +00:00
ghidra1
fe35e34add GP-6329 Corrected PowerPC-32 ELF Relocation processing for
R_PPC_ADDR16_LO and R_PPC_ADDR16_HA
2026-01-13 17:16:14 -05:00
Odin Dahlström
c1f97cde08 Fix missing Altivec vadduws instruction 2025-12-23 13:21:07 +00:00
ghidra1
ba9c648374 GP-6229 Updated EmulateInstructionStateModifier.executeCallOther to drop first input for consistency with all other code that invokes OpBehaviorOther.evaluate method and Corrected OpBehaviorOther regression errors with various implementations 2025-12-15 15:20:37 -05:00
Ryan Kurtz
6504c296b2 Merge remote-tracking branch
'origin/GP-6109_ghidorahrex_powerpc_vle_assembly_fix' into patch
(Closes #8624)
2025-12-09 12:32:36 -05:00
emteere
88ff4b2008 GP-6120_emteere_FixThunkDetectionMarkupPPC64 2025-11-24 18:25:40 +00:00
MetalliC
22a5a22d82 PowerPC: fix condition check in bd*f* opcodes 2025-11-20 12:39:15 -05:00
ghidorahrex
b543477597 GP-6109: Fixed issue with PPC assembler not assembling some instructions 2025-11-13 18:59:44 +00:00
emteere
2419b08085 GP-6072 Fixed thunk detection and thunk address for Position Independent Code thunks that call to load a link register that is turned into a jump. 2025-11-06 18:47:35 +00:00
Ryan Kurtz
fc1c06ea39 Merge remote-tracking branch 'origin/patch' 2025-08-27 04:56:05 -04:00
emteere
f391ddb87c GP-5945 Fixed PowerPC e500 instruction extension issues and added function start pattern variants. 2025-08-26 11:59:06 -04:00
James
d9a5ad2ed0 GP-4029 updated mips and ppc language versions 2025-08-25 19:31:22 +00:00
ghintern
d91aebe74e GP-4030: Fix MIPS base and eabi 32/64-bit cspecs
GP-4029: Update base PowerPC 32/64-bit cspecs
2025-08-25 19:15:08 +00:00
Dan
42115f6df0 GP-5581: Allow optimization by truncation of subpieced unique varnodes. 2025-08-18 17:12:23 +00:00
ghidra1
4a0e95ecd3 GP-3091 ppc64 ELF improvements for 32-bit addressing. Fixed default ELF
GOT markup boundary condition.  Fixed improper EXTERNAL symbols with
.pltgot. prefix and duplication.
2025-07-25 14:19:18 -04:00
Ryan Kurtz
edf42d82d9 Merge remote-tracking branch 'origin/GP-5846_ghidra1_PPC64_ELFRelocations' into patch 2025-07-18 15:17:45 -04:00
ghidra1
006bd8d423 GP-5846 Corrected ELF PowerPC 64-bit relocation processing bugs
affecting ELFv2 use and R_PPC64_JMP_SLOT relocation
2025-07-18 12:00:34 -04:00
emteere
4723729d80 GP-5804 Set SymbolicPropogator to record register begin/end state in
basic constructor. Better document recordBeginEndState flag.
2025-07-03 17:49:53 +00:00
ghidra1
8c441250f5 GP-5742 Cleanup preferred CommentType enum use. Changed SARIF data component comment JSON serialization from int to String. 2025-06-06 17:58:07 -04:00
emteere
208f6f3ed1 GP-5411 Added plt thunk patterns, pre-fill of edit thunk GUI, loosened
thunk address calculation for more complicated thunks
2025-03-03 22:37:45 +00: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
emteere
5dd8a6a79a GP-4826 Fixed incorrect .sla file reference 2024-08-30 12:45:42 -04:00
ghidra1
86c126b7f6 GP-4849 corrected typo in pspec 2024-08-29 18:56:49 -04:00
Ryan Kurtz
62d0682d04 Merge remote-tracking branch 'origin/GP-4849_RegisterVolatile'
(Closes #6755)
2024-08-28 07:43:58 -04:00
caheckman
e1cc67a3d2 GP-4849 Volatile attribute in <register> tag. 2024-08-27 21:03:10 +00:00