Commit Graph

15778 Commits

Author SHA1 Message Date
Ryan Kurtz
b4ba6e6fb8 Merge remote-tracking branch
'origin/GP-5831_ghidra007_speedupRTTIScript_fixBug--SQUASHED' into
Ghidra_12.0 (Closes #8199)
2025-12-03 11:15:59 -05:00
Ryan Kurtz
b3e26b6d13 Merge branch
'GP-0_ryanmkurtz_PR-8727_niooss-ledger_pyghidra-fix-contextmanager-type-annotations'
into Ghidra_12.0 (Closes #8727)
2025-12-03 11:14:25 -05:00
Ryan Kurtz
5ab8d33592 GP-0: PyGhidra type hint fixes 2025-12-03 11:11:52 -05:00
Nicolas Iooss
fc0f971c39 Fix Python type annotations in PyGhidra module when using contextmanager
Verifying the type annotations used by PyGhidra with Mypy static type
checker leads to the following error:

    core.py:171: error: Argument 1 to "contextmanager" has incompatible
    type "Callable[[str | Path, str | Path, str, Any, str, str, str |
    JClass, str, Any], AbstractContextManager[Any, bool | None]]";
    expected "Callable[[str | Path, str | Path, str, Any, str, str, str
    | JClass, str, Any], Iterator[Never]]"  [arg-type]

Indeed, in Ghidra/Features/PyGhidra/src/main/py/src/pyghidra/core.py,
function open_program was declared to return a
ContextManager["FlatProgramAPI"]. While this function indeed returns
such a type, the implementation uses decorator @contextlib.contextmanager
which expects the wrapped function to return an generator (with yield).

Use Generator["FlatProgramAPI", None, None] to fix this.

While at it, fix other locations where the type annotation of the
function wrapped with contextmanager was incorrect.
2025-12-03 10:59:05 -05:00
Ryan Kurtz
a93de758f7 GP-6165: Changed JPype dependency to be fixed at version 1.5.2 to avoid
a possible Windows crash on 1.6.0
2025-12-03 05:33:51 -05:00
Ryan Kurtz
5e6c16073e GP-0: Renaming pyghidra.monitor() to pyghidra.task_monitor() to avoid
naming conflict with local monitor variables (Closes #8722)
2025-12-03 05:08:49 -05:00
ghidra007
c5beedac5a GP-5831 Added a few speed improvements to the RecoverClassesFromRTTIScript. 2025-12-03 05:05:17 -05:00
ghidra1
c35cbcb984 Merge remote-tracking branch 'origin/GP-6146_ElasticSearch_8_19_7' into
Ghidra_12.0 (Closes #8611)
2025-12-02 15:41:41 -05:00
ghidra1
1bed05d673 GP-1 WhatsNew updates for 12.0 2025-12-02 15:33:04 -05:00
ghidra1
c8e919b33b GP-1 Minor change to GettingStarted 2025-12-02 12:42:00 -05:00
Ryan Kurtz
f901a1bb4a GP-0: Upping gradle wrapper version to 9.2.1 2025-12-02 06:57:46 -05:00
caheckman
ad4b450f31 GP-6146 Change elastic skeleton to support 8.19.7 2025-12-01 21:31:41 +00:00
ghidra1
ed4db710cf GP-1 log when headless analyzer starts to execute a script 2025-12-01 15:42:15 -05:00
Ryan Kurtz
9499199f83 Merge remote-tracking branch 'origin/GP-6120_emteere_PPC64ThunkPatterns' into Ghidra_12.0 2025-11-26 05:01:09 -05:00
ghidra1
863be7c97c Merge branch 'GP-6161_BugFIxes' into Ghidra_12.0 2025-11-24 16:30:06 -05:00
ghidra1
f3d597a6a7 GP-6161 RangeMap fix and setLanguage regression fix 2025-11-24 16:27:04 -05:00
Ryan Kurtz
e1f6642c77 Merge remote-tracking branch
'origin/GP-6121_ghidorahrex_PR-8625_dt-12345_aarch64_fmadd' into
Ghidra_12.0 (Closes #8625, Closes #8454)
2025-11-24 14:01:25 -05:00
Ryan Kurtz
00978223d3 Merge remote-tracking branch
'origin/GP-4650_ghidorahrex_PR-6544_Sleigh-InSPECtor_aarch32_vmvn' into
Ghidra_12.0 (Closes #6544)
2025-11-24 13:58:19 -05:00
Ryan Kurtz
5fd013d0ea Merge remote-tracking branch 'origin/GP-0_dev747368_more_fixes_dwarf_external_program_addresses' into Ghidra_12.0 2025-11-24 13:41:29 -05:00
dev747368
1d86eaf745 GP-0 fix more external address leakage in DWARF import 2025-11-24 18:31:27 +00:00
emteere
88ff4b2008 GP-6120_emteere_FixThunkDetectionMarkupPPC64 2025-11-24 18:25:40 +00:00
Ryan Kurtz
97881c199d Merge remote-tracking branch 'origin/GP-6151_dev747368_fix_dwarf_copy_external_symbol_from_external_debuginfo' into Ghidra_12.0 2025-11-24 05:43:10 -05:00
Ryan Kurtz
06ae0f5660 GP-0: Removing unneeded PyGhidra print 2025-11-24 05:42:35 -05:00
dev747368
a44ebd5b6c GP-6151 fix DWARF analyzer when copying external debuginfo symbols 2025-11-20 23:11:19 +00:00
Ryan Kurtz
44eb432e86 Merge branch
'GP-6049_ghidorahrex_PR-8424_p1pkin_powerpc_branch_conditionals_fix_2'
into Ghidra_12.0 (Closes #8424)
2025-11-20 12:40:45 -05:00
MetalliC
22a5a22d82 PowerPC: fix condition check in bd*f* opcodes 2025-11-20 12:39:15 -05:00
Sleigh-InSPECtor
0982753437 AArch32: fixed vmvn
* fixed incorrect shift offset (bytes given in place of bits) and double word order
2025-11-20 15:19:00 +00:00
ghidra1
5b1f67f360 Merge remote-tracking branch 'origin/GP-6142-dragonmacher-tooltip-placement' into Ghidra_12.0 2025-11-19 17:02:00 -05:00
dragonmacher
fd0902b14d GP-6142 - Hovers - Fixed default tootip padding bug 2025-11-19 17:00:55 -05:00
Ryan Kurtz
8c39f94c8a Merge branch 'GP-0_ryanmkurtz_user-settings' into Ghidra_12.0 2025-11-19 10:47:54 -05:00
Ryan Kurtz
c32ead3c69 GP-0: Fixing user settings location in dev mode for LaunchSupport and
PyGhidra
2025-11-19 10:35:34 -05:00
ghidra1
6f3845841a GP-1 Updated .gitignore 2025-11-19 10:15:49 -05:00
Ryan Kurtz
6d36df6eca GP-0: Fixing PyGhidra version check when things like "-BETA" are present 2025-11-19 06:22:44 -05:00
Ryan Kurtz
17b29883a7 Merge remote-tracking branch
'origin/GP-6132_ryanmkurtz_bundle-refs--SQUASHED' into Ghidra_12.0
(Closes #8610)
2025-11-18 14:17:09 -05:00
Ryan Kurtz
0d52943d1f GP-6132: Fixed a bug in the the PyGhidra headless analyzer that resulted in the wrong exception being thrown when a script tries to import a module that isn't found 2025-11-18 14:15:44 -05:00
Ryan Kurtz
72cb11adfb Merge remote-tracking branch
'origin/GP-6104_d-millar_dbgeng_reg_write_fix' into Ghidra_12.0 (#8551)
2025-11-18 06:40:13 -05:00
d-millar
8fe746755a GP-6104: fix for dbgeng reg write 2025-11-17 15:23:11 -05:00
Ryan Kurtz
df1cfb7e6c Merge remote-tracking branch 'origin/GP-6118_ARMreturns' into Ghidra_12.0 2025-11-17 12:42:52 -05:00
Ryan Kurtz
0e7237e10e Merge remote-tracking branch 'origin/patch' into Ghidra_12.0 2025-11-17 06:18:04 -05:00
Ryan Kurtz
fab48be446 Merge remote-tracking branch
'origin/GP-6100_ghizard_PDB_fix_NPE_for_null_function_container' into
patch (Closes #8596)
2025-11-17 06:15:56 -05:00
Ryan Kurtz
2255e487ff Merge remote-tracking branch 'origin/GP-6106_dev747668_golang_apisnapshot_patchver_fallback--SQUASHED' into Ghidra_12.0 2025-11-17 05:36:01 -05:00
Ryan Kurtz
66f8ed38e1 GP-0: Upping gradle wrapper version to 9.2.0 2025-11-17 05:34:16 -05:00
Ryan Kurtz
6467124721 GP-0: Fixing javadoc 2025-11-17 05:32:40 -05:00
dt-12345
c4c7f11d1c fix AArch64 fmadd operand ordering for 32-bit case 2025-11-14 17:07:20 +00:00
ghidra1
217aded90d GP-6119 GettingStarted.md revision 2025-11-13 17:11:38 -05:00
ghidra2
59aaef19c7 GP-6119 Update GettingStarted extension installation prose. 2025-11-13 21:41:33 +00:00
caheckman
5857e63741 GP-6118 Fix for specialized ARM cpy pc,lr 2025-11-13 20:31:53 +00:00
dev747368
09353f5f6f GP-6106 fix go apisnapshot version fallback
Wasn't trying to use previous patch-ver snapshot info.
2025-11-13 18:52:35 +00:00
ghidra1
f983772715 Merge remote-tracking branch 'origin/GP-6105_Dan_regPanelRefreshOnChangedLanguage' into Ghidra_12.0 2025-11-12 16:23:16 -05:00
ghidra1
596f8b5ba5 Merge remote-tracking branch
'origin/GP-6084_Dan_registerGroupsNotWriteable--SQUASHED' into
Ghidra_12.0 (Closes #6084)
2025-11-12 16:22:20 -05:00