Commit graph

279 commits

Author SHA1 Message Date
Ryan Kurtz
af5e744570 Merge remote-tracking branch 'origin/patch' 2025-04-28 15:27:24 -04:00
Ryan Kurtz
2ab014f8c2 Merge remote-tracking branch 'origin/GP-5537_ghidorahrex_avx512_update--SQUASHED' into patch 2025-04-28 15:22:04 -04:00
ghidorahrex
4f1933c1a3 GP-5537: Added additional AVX512 instructions 2025-04-24 12:57:38 -04:00
Ryan Kurtz
071652e3b9 Merge remote-tracking branch 'origin/patch' 2025-04-11 09:27:40 -04:00
Ryan Kurtz
1b31994fd9 Merge remote-tracking branch 'origin/GP-5011_ghidorahrex_x86_stack_operation_size_fix--SQUASHED' into patch 2025-04-11 09:17:42 -04:00
ghidorahrex
41305fb45e GP-5011: Fixed x86 stack push/pop sizing issues 2025-04-10 14:46:25 -04:00
James
30008b6715 GP-5030 improved x87 operand display 2025-04-09 10:04:02 -04:00
Ryan Kurtz
2f581d0ead Merge remote-tracking branch 'origin/patch' 2025-03-18 12:17:44 -04:00
Ryan Kurtz
227497e0fa Merge remote-tracking branch
'origin/GP-5299_ghidorahrex_x86_pop_macro_fix' into patch (Closes #7326)
2025-03-18 12:14:01 -04:00
dev747368
36c6c8ef77 GP-2432 golang api snapshot, generics, closures, gcwritebarrier
Apply golang runtime function signatures from info stored in json api
snapshot files.

The api snapshot files are created by a custom go helper program that
uses the go compiler parser to parse the go toolchain source tree and
writes the discovered function and type info into a json file.

The go-api-parser helper program is based off of work contributed by
github user monoidic via issue #6367.

Updates generic functions to take a generic dictionary RTTI
parameter (mostly to allow correct assignment of other parameters).

Updates closure functions to take a closure context parameter.  Closure
contexts are passed via a register that is not involved in normal
parameter passing.

Tweaks the signature of gcWriteBarrier functions so that they don't mess
up decompilation of functions that use them.
2025-03-07 16:44:48 +00:00
Ryan Kurtz
58e19e947c Merge remote-tracking branch
'origin/GP-5424_ghidracadabra_PR-6601_Sleigh-InSPECtor_x86_pushf_popf'
(Closes #6601)
2025-02-27 14:00:58 -05:00
James
74066cdf78 GP-5424 updated x86 version numbers 2025-02-26 20:29:50 +00:00
Sleigh-InSPECtor
6e8ef8deb1 x86: PUSHF/POPF address size fixes (64-bit mode) 2025-02-26 20:18:13 +00:00
James
f8b0d83b16 GP-5191 x86 fpu ip updates 2025-02-25 12:19:27 -05:00
Ryan Kurtz
e14fede14f Merge remote-tracking branch 'origin/GP-5183_ghintern_x86_x64_cspecs--SQUASHED' 2025-02-06 07:11:36 -05:00
ghintern
69dd166c3a GP-5183 Fixes to x86 and x64 cspecs 2025-02-04 21:37:27 +00:00
Ryan Kurtz
9f1aac6886 Merge remote-tracking branch 'origin/Ghidra_11.3' 2025-01-28 09:33:43 -05:00
ghidorahrex
dddc9afa9c GP-0: Fixed x86 AVX512 OpMask operand spacing 2025-01-28 09:22:55 -05:00
ghidorahrex
48ae03833e GP-5299: Fixed pop instruction macros 2025-01-23 14:58:46 +00:00
Ryan Kurtz
f1f8827878 Merge remote-tracking branch 'origin/Ghidra_11.3' 2025-01-22 13:51:58 -05:00
Ryan Kurtz
0844ff6cca Merge remote-tracking branch 'origin/GP-4660_ghidorahrex_avx_512_writemask_fix' into Ghidra_11.3 2025-01-22 13:29:59 -05:00
ghidorahrex
0d65798f10 GP-4660: Added writemask pcode for most AVX-512 instructions 2025-01-22 18:28:25 +00:00
James
c7be8e9629 GP-5267 updated language version 2025-01-17 18:21:07 +00:00
Sleigh-InSPECtor
1574864072 x86: Fix overlap issue with INCSS/RDSSP 2025-01-17 18:13:59 +00:00
dev747368
2860c29383 GP-4870 add support for golang 1.23
Also fix namespace issue for interface, slices, ptrs, arrays, etc.Remove GoFuncID enum as it mutates between versionsFix stack storage logic for DWARF variables.
2024-12-26 18:26:48 -05:00
Ryan Kurtz
e1e54a4d89 GP-5182: The builtin int type in Swift binaries has been changed from 8
bytes to 4 bytes. The Swift Demangler now demangles the Swift.Int type
to __int64 (or __int32) to avoid conflicts with non-Swift structures and
functions that may be found in the program.
2024-12-09 16:58:19 -05:00
Dan
7dd417b6be GP-5051: Distinct qemu-system launcher. 2024-12-04 08:43:26 -05:00
Ryan Kurtz
a16657d3c1 Merge remote-tracking branch 'origin/GP-4776_emteere_MoreAVXSemantics--SQUASHED' 2024-08-30 12:32:54 -04:00
emteere
0b36b540cb GP-4776 Added more semantics for AVX instructions 2024-08-30 12:19:25 -04:00
caheckman
fb13a1ca41 GP-4794 Add lanes sizes for ZMM registers 2024-07-26 19:24:08 +00:00
Sleigh-InSPECtor
5eaf085ed5 x86: Fix aliasing issues with SIMD instructions 2024-07-18 20:07:17 +00:00
Ryan Kurtz
265f0072f3 Merge remote-tracking branch 'origin/GP-4778_emteere_PR-6513_Sleigh-InSPECtor_x86_cvtsd2si_trunc' 2024-07-18 11:18:20 -04:00
Sleigh-InSPECtor
88454aca38 x86: Fix issue with PACKUSWB when the value to convert is exactly 0x00ff 2024-07-15 20:51:34 +00:00
Sleigh-InSPECtor
b59a1a3623 x86: Fix issue with comparison of bits 96 to 128 in CMPPS instruction 2024-07-12 18:05:09 +00:00
Ryan Kurtz
947709ef0a Merge remote-tracking branch
'origin/GP-4769_ghidracadabra_PR-6511_Sleigh-InSPECtor_x86_pextr_mem'
(Closes #6511)
2024-07-12 11:31:04 -04:00
Sleigh-InSPECtor
2d11af845b x86: Ensure that PEXTR instructions with memory destinations write to memory. 2024-07-11 19:02:28 +00:00
Ryan Kurtz
bbe6e41d65 Merge remote-tracking branch
'origin/GP-4754_ghidracadabra_PR-6521_Sleigh-InSPECtor_x86_sbb_sxt'
(Closes #6521)
2024-07-11 08:59:53 -04:00
ghidra1
d81f79ebb0 Merge remote-tracking branch 'origin/patch' 2024-07-09 11:42:16 -04:00
ghidra1
7d63e573fe Merge remote-tracking branch
'origin/GP-4724_emteere_AVX_MinorSemantics--SQUASHED' into patch
2024-07-09 10:52:00 -04:00
emteere
1fbebefee7 GP-4724 Minor changes for AVX instructions and UDF semantics 2024-07-09 10:26:34 -04:00
Sleigh-InSPECtor
0a79333fb6 x86: Sign-extend 32-bit immediates for 64-bit SBB instructions 2024-07-08 17:55:12 +00:00
Sleigh-InSPECtor
ff317b039d x86: Fix evaluation order of CMOV 2024-06-24 19:24:50 +00:00
Ryan Kurtz
c19facf226 Merge remote-tracking branch 'origin/Ghidra_11.1' 2024-06-04 13:00:32 -04:00
ghidorahrex
1e8ae0f7c7 GP-0: Removed evexMode and extended vexMode to be 2 bits 2024-06-04 16:28:24 +00:00
ghidra1
90dec6007d GP-0 Tweaked AVX KWriteMask operand concatenation 2024-06-04 11:26:49 -04:00
ghidra1
500f02763c Merge remote-tracking branch 'origin/Ghidra_11.1' 2024-06-03 13:59:53 -04:00
ghidra1
7652fc2d61 GP-0 minor old language revision 2024-06-03 13:48:28 -04:00
Sleigh-InSPECtor
0a99c5f5b4 x86: opsize override prefix not handled for 16-bit MOVSX/MOVZX
(Closes #6525)
2024-06-03 13:26:34 -04:00
James
66f3a50f36 GP-2630 added comment 2024-06-03 13:26:34 -04:00
Sleigh-InSPECtor
6e0bd30a74 Fix issue with 0x82 alias in 64-bit mode. (Closes #6510) 2024-06-03 13:26:34 -04:00