Commit graph

7914 commits

Author SHA1 Message Date
Ryan Kurtz
636f28dbdc Merge remote-tracking branch 'origin/GP-5462_dev747368_missing_gotype_subst' 2025-03-11 06:54:43 -04:00
Ryan Kurtz
f0542ccd6c Merge remote-tracking branch 'origin/patch' 2025-03-11 06:53:37 -04:00
Ryan Kurtz
a15e86832a Merge remote-tracking branch
'origin/GP-5461_ghidra007_RTTIScriptHandleMultipleVftableSymbolsAtSameAddr'
into patch (#7876)
2025-03-11 06:48:26 -04:00
dragonmacher
ef7c79f0c0 Updated the help window to not preserve the previous location on a new
request for the same page
2025-03-10 19:01:48 -04:00
Ryan Kurtz
73d29e3488 Merge remote-tracking branch
'origin/GP-5468-dragonmacher-renderer-font-warning-fix' (Closes #7886)
2025-03-10 11:45:52 -04:00
dragonmacher
88dc8a65bc GP-5468 - Updated the cell renderer setFont() warning to only show once 2025-03-08 16:51:09 -05:00
dragonmacher
0a30e924dd Updated the help build to detect re-used sort group values 2025-03-07 22:55:00 -05:00
カイダ
2b7663d7e5 Detect more rust binaries
Some rust binaries do not contain the `rustc` or `RUST_BACKTRACE` strings. Also detect `RUST_MIN_STACK` which is in these binaries.
2025-03-08 12:37:18 +09:00
ghidra007
e2b60a52f9 GP-5461 updated RecoverClassesFromRTTI script to correctly handle case
where some vftable addresses have more than one valid vftable symbol.
2025-03-07 21:33:16 +00:00
dev747368
e72b17b0db GP-5462 add some missing gotype name substitutions 2025-03-07 21:18:53 +00:00
Ryan Kurtz
7b9183b2db Merge remote-tracking branch 'origin/GP-1-dragonmacher-escape-window-fix' 2025-03-07 15:29:27 -05:00
Ryan Kurtz
0c56a9070c Merge remote-tracking branch 'origin/GP-4037_ghidragon_show_offcut_comments_in_listing--SQUASHED' 2025-03-07 15:19:59 -05:00
dragonmacher
0bb48934e8 Fixed escape key binding collision with closing windows by only enabling
the action when there is a selection
2025-03-07 12:55:53 -05:00
ghidragon
36b12ad8fe GP-4037 Changes the various listing comment fields (PRE, POST, EOL, PLATE) to also display offcut comments, colored red 2025-03-07 12:25:49 -05:00
Ryan Kurtz
b22c84a3be Merge remote-tracking branch 'origin/GP-2432_dev747368_golang_apisnapshot' 2025-03-07 11:58:13 -05: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
2896551d68 Merge remote-tracking branch 'origin/GP-5457_dev747368_fix_gnunote_conflict' 2025-03-07 05:54:49 -05:00
dev747368
017cef88cd GP-5457 fix error when marking up gnu note items during import
was trying to markup the same gnu note via section name and pt_note
2025-03-06 19:48:57 +00:00
Ryan Kurtz
1990d2ed4b GP-5458: GhidraProject and DefaultProjectManager methods for opening
projects now throw more granular exceptions
2025-03-06 12:37:30 -05:00
Ryan Kurtz
5361a47df2 Merge remote-tracking branch 'origin/patch' 2025-03-06 12:07:16 -05:00
Ryan Kurtz
abb65d1b8c GP-5444: PyGhidra open_program() now handles locked projects better 2025-03-06 11:58:12 -05:00
Ryan Kurtz
b88a82dae1 Merge remote-tracking branch 'origin/GP-0_ghidragon_fixing_encoded_string_test' 2025-03-06 11:36:42 -05:00
ghidragon
260375351d GP-0 fixed bug introduced when adding accessible name 2025-03-06 11:34:58 -05:00
Ryan Kurtz
ec743e0280 Merge remote-tracking branch
'origin/GP-5346-dragonmacher-decompiler-function-color-bug'
(Closes #7453)
2025-03-06 09:25:37 -05:00
Ryan Kurtz
7ebcb3fa88 Merge remote-tracking branch 'origin/GP-5434_ghidragon_fixed_datatype_tree_node_tooltip_cache--SQUASHED' 2025-03-06 09:23:54 -05:00
Ryan Kurtz
95782ad486 GP-5429: DyldCacheExtractLoader and MachoFileSetExtractLoader no longer
try to handle reexports
2025-03-06 09:20:49 -05:00
ghidragon
75d5db56a3 GP-5434 fixed data type tree node tooltip cache being stale. 2025-03-05 18:39:37 -05:00
Ryan Kurtz
99eaf163ca Merge remote-tracking branch
'origin/GP-5414-dragonmacher-decompiler-hl-fix--SQUASHED' (Closes #7527)
2025-03-05 10:32:29 -05:00
Ryan Kurtz
7bbbc20cdf Merge remote-tracking branch 'origin/GP-4393_ghidragon_add_hover_to_show_symbol_source--SQUASHED' 2025-03-05 10:25:28 -05:00
Ryan Kurtz
6a8724a984 Merge remote-tracking branch 'origin/patch' 2025-03-05 10:24:32 -05:00
Ryan Kurtz
22f733c19e Merge remote-tracking branch
'origin/GP-5451_ghidra007_removedOldGccRTTIAnalysisScript'
(Closes #7871)
2025-03-05 10:02:42 -05:00
Ryan Kurtz
825b6754f1 GP-0: Improving Mach-O loader progress messages (#7863) 2025-03-05 09:48:19 -05:00
dragonmacher
f078e5fe62 GP-5346 - Decompiler - Fixed sporadic function color bug that caused bad
function colors to oscillate
2025-03-04 18:06:51 -05:00
dragonmacher
99659967e2 GP-5414 - Decompiler - Updated highlighting to ignore syntax tokens 2025-03-04 17:26:33 -05:00
ghidragon
2a1a158578 GP-4393 add hover to show symbol source type 2025-03-04 16:17:03 -05:00
ghidra007
2e26a0db35 GP-5451 removed old GCCRTTIAnalysisScript because
RecoverClassesFromRTTIScript has the latest Gcc class recovery
mechanisms in it.
2025-03-04 19:26:26 +00:00
Ryan Kurtz
802586c6fb Merge remote-tracking branch 'origin/GP-5408_ghizard_Rework_hierarchical_class_layout_and_vxt_understanding--SQUASHED' 2025-03-04 14:01:01 -05:00
ghizard
380a0dbe69 GP-5408 - C++ and PDB - rework hierarchical class layout and VxTable understanding 2025-03-04 13:50:28 -05:00
Ryan Kurtz
6d4f6e0854 Merge branch 'GP-0_ryanmkurtz_PR-7877_bmacphee_dyld-addend-mask-fix' 2025-03-04 13:15:51 -05:00
Ryan Kurtz
6d7f8a0b5e GP-0: Certify 2025-03-04 13:14:36 -05:00
Brad MacPhee
fdc3dd080a
DyldChainedImport: fix offset mask bug
fix name_offset extraction to support values stored in the high 32 bits that are larger than 2G (highest bit set)

this bug may not occur in practice, but is easy to prevent by using a long literal for the masking, rather than integer
2025-03-04 13:39:37 -04:00
Ryan Kurtz
4cf5d25bc8 Merge remote-tracking branch 'origin/GP-4555_GhidraKraken_DialogNames' 2025-03-04 12:21:45 -05:00
Ryan Kurtz
87a7caa90c Merge remote-tracking branch 'origin/GP-5430_ghidra007_ImageRuntimeFunctionEntryChange--SQUASHED' 2025-03-04 12:20:09 -05:00
Ryan Kurtz
1e18516eb5 Merge remote-tracking branch
'origin/GP-5440_ghidragon_fixing_nav_history_when_repeating_mem_search'
(Closes #7445)
2025-03-04 12:18:34 -05:00
ghidra007
a19d6ab459 GP-5430 Updated the PE ImageRuntimeFunctionEntry structures to make EndAddress a Dword since it is really the address after the end of the given function and was causing bad references and code to be created. 2025-03-04 16:49:31 +00:00
Ryan Kurtz
66ac37b368 Merge branch 'GP-0_ryanmkurtz_PR-7875_XeR_memory-map' 2025-03-04 10:33:46 -05:00
Ryan Kurtz
9515da9b19 Merge remote-tracking branch 'origin/GP-5441_ryanmkurtz_dyld-archs'
(#7863)
2025-03-04 10:03:33 -05:00
XeR
c7336e8d19 Memory Map: ensure columns exist on initialization
The Memory Map plugin configures the maximum and minimum size of some of
the columns.

This initialization does not take into account that a user is able to
hide columns, which results in a null pointer exception.

This commit checks that these objects are not null before configuring
them.

Fixes: f4b89fd26c ("GP-4984 - Fixed row selection while using the filter; updated columns to be resizable")
2025-03-04 12:40:05 -01:00
Ryan Kurtz
17910774cd GP-5429: Support for Mach-O LC_REEXPORT_DYLIB 2025-03-04 06:25:58 -05: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