367 Commits

Author SHA1 Message Date
emteere 95ad48cdb3 GP-4711 Fix for import of 32-bit x86 Unix/Windows Rust binaries 2025-10-28 17:22:13 +00:00
Ryan Kurtz 8802befa22 Merge remote-tracking branch 'origin/GP-5526_emteere_bugfix--SQUASHED' into Ghidra_12.0 2025-09-24 14:20:56 -04:00
Ryan Kurtz 961ab7b76e Merge remote-tracking branch
'origin/GP-5998_emteere_VS2022_stack_check_cookie_Issue--SQUASHED' into
Ghidra_12.0 (Closes #2743)
2025-09-24 14:18:25 -04:00
emteere dc069a18c6 GP-5287 Added ENDBR jump target checking instructions as function start patterns for x86 gcc binaries 2025-09-24 18:06:03 +00:00
emteere 69ed84a069 GP-5526 bug fix for .plt.sec and pattern matching optimization 2025-09-24 18:03:10 +00:00
emteere 0815f463f5 GP-5998 Added security_check_cookie function patterns and callfixup for VS2022 based binaries. 2025-09-24 18:01:43 +00:00
Ryan Kurtz a893955b03 Merge remote-tracking branch 'origin/patch' 2025-09-15 09:45:43 -04:00
emteere 4b6d90366c GP-5526 Added section tag to function start patterns. New thunk patterns
in x86 gcc .plt section.  Changed priority of pre analyzer and
disassembly.
2025-09-10 22:55:14 +00:00
James 6229740f8b GP-5958 added callfixup for get_pc_thunk.di to x86gcc.cspec 2025-08-27 19:15:30 +00:00
Ryan Kurtz 7a4100d54b Merge remote-tracking branch 'origin/patch' 2025-08-27 11:30:41 -04:00
Ryan Kurtz 5c00ab8e08 Merge remote-tracking branch
'origin/GP-5906_ghidorahrex_x86_sse4a_instructions--SQUASHED' into patch
(Closes #8335)
2025-08-27 11:25:24 -04:00
ghidorahrex 393e7935af GP-5906: Added x86 SSE4a instructions 2025-08-26 08:33:50 -04:00
Ryan Kurtz c80f792ee8 Merge remote-tracking branch 'origin/patch' 2025-08-21 06:45:30 -04:00
Ryan Kurtz 3abf7f765e GP-0: Updating Swift documentation links 2025-08-21 06:42:41 -04:00
dev747368 e908ab6fbf DWARF expression handling refactor
Cleanup logic of expression evaluation, stub out resolution of register
values to a callback in case we want to use constant propagation to try
to allow successful calculations, and add support for default static
values for treating an arch's stack frame register (e.g. RBP) like the
static CFA value we already have support for.

Add option to decorate params and local vars with their DWARF storage
location info.

Handle arrays with unspecified element type.
2025-08-11 11:21:28 -04:00
Ryan Kurtz 391a052e55 Merge remote-tracking branch 'origin/patch' 2025-07-29 09:10:56 -04:00
ghidorahrex 4abf6d55ad GP-5766: Fixed instruction AVX512 disassembly errors 2025-07-29 08:56:43 -04:00
ghidra1 438725bafd GP-5815 Added ELF Loader GOT allocation support for AARCH64 in support
of object module loading.
2025-07-11 16:17:19 -04:00
ghidorahrex b0750c2783 GP-5725: Corrected operands for several AVX512 instructions 2025-06-10 09:21:39 -04:00
ghidra1 0b2739a8fe Merge remote-tracking branch
'origin/GP-5704_ghidra1_x86_16_LanguageUpgradeIssues' into Ghidra_11.4
(Closes #8140)
2025-05-19 16:05:34 -04:00
ghidra1 271ec694ad GP-5704 Corrected language upgrade issue affecting x86-16 Protected and
SMM mode variants.
2025-05-19 16:01:16 -04:00
ghidorahrex d6815ae407 GP-5665: Additional cvt reg32 dest fixes 2025-05-15 16:52:12 +00:00
John Millikin 6ab48b885b x86: Fix missing zero-extension in CVTTSD2SI 2025-05-14 19:19:32 +09:00
James a9e193d811 GP-5638 update language verions 2025-05-07 13:51:22 +00:00
Sleigh-InSPECtor ce839ce9fc x86: PUSH FS/GS long mode improvements. 2025-05-06 18:42:50 +00:00
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
Ryan Kurtz 9a7a06f5f6 Merge remote-tracking branch
'origin/GP-5191_James_x86_fpu_ip_updates--SQUASHED' (Closes #7205,
Closes #7508)
2025-02-26 12:47:39 -05:00
James f8b0d83b16 GP-5191 x86 fpu ip updates 2025-02-25 12:19:27 -05:00
Ryan Kurtz a60ef336ea Merge remote-tracking branch 'origin/patch' 2025-02-25 07:06:13 -05:00
ghidra1 4b4d2f00d1 GP-5413 Improve error handling for x86 ELF GOT allocation failure during
relocation processing.
2025-02-24 18:15:30 -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