Commit Graph

7028 Commits

Author SHA1 Message Date
Ryan Kurtz
a3d0b40f36 GP-4971: Fixed a typo in VSCodeProjectScript.java that resulted in the
"Extensions/Ghidra/Skeleton" directory not being found.
2024-09-30 11:10:56 -04:00
Ryan Kurtz
71d378655e GP-4919: Improving Load Libraries results dialog for programs with no
libraries
2024-09-30 06:30:45 -04:00
Ryan Kurtz
22f95a5eba Merge remote-tracking branch 'origin/GP-4725_ghizard_PDBUniversal_source_line_investigations--SQUASHED' 2024-09-27 11:12:42 -04:00
ghizard
91f82f9f90 GP-4725 - PDB work toward applying source lines information 2024-09-26 18:10:45 -04:00
Ryan Kurtz
8b5984da36 Merge remote-tracking branch 'origin/GP-4898_ghizard_demangler_intfc_and_swift_mods_and_tests--SQUASHED' 2024-09-26 14:03:44 -04:00
ghizard
c51f65c376 GP-4898 - more Demangler changes: interface, individual demanglers, tests 2024-09-26 13:58:46 -04:00
Ryan Kurtz
b78072c76f Merge remote-tracking branch
'origin/GP-4919_ryanmkurtz_loadlibs--SQUASHED' (Closes #396)
2024-09-26 12:30:59 -04:00
Ryan Kurtz
c5ebbe5c8d GP-4919: New 'Load Libraries' action that lets you load libraries after import 2024-09-26 12:28:54 -04:00
Ryan Kurtz
a1c6452798 Merge remote-tracking branch
'origin/GP-4962-dragonmacher-font-end-dispose-exception--SQUASHED'
(Closes #6937)
2024-09-26 06:04:57 -04:00
dragonmacher
5e5a8e3e6d Fixed exception closing the Front End 2024-09-25 15:17:11 -04:00
ghidra1
8d4e33cc50 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-25 14:13:01 -04:00
caheckman
691137abc1 GP-4907 Multistage jumptable adjustment 2024-09-25 14:07:07 -04:00
ghidra1
4e1532be14 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-25 13:44:40 -04:00
ghidra1
86e77bd9ef Merge remote-tracking branch
'origin/GP-4949_ghidra1_StructureEditorPerformance--SQUASHED' into
Ghidra_11.2 (Closes #6936, Closes #6504)
2024-09-25 13:43:20 -04:00
ghidra1
ef724708df GP-4949 Added Structure.setLength method and made structure editor performance improvements and various bug fixes. 2024-09-25 13:41:13 -04:00
Ryan Kurtz
9e5c6fecf2 Merge remote-tracking branch 'origin/GP-1-dragonmacher-symbol-tree-exception-fix' 2024-09-23 17:28:16 -04:00
Ryan Kurtz
ce2f8b94cf GP-4898: Fixes for the SwiftDemangler 2024-09-23 11:57:27 -04:00
dragonmacher
1862a7e559 Fixed a rare exception seen when the Symbol Tree is searching for a node
while its program is closed
2024-09-21 12:01:59 -04:00
Ryan Kurtz
8841a44bd0 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-20 16:41:52 -04:00
dev747368
1b11b067d9 GP-4948 fix Encoded Strings dialog error when closing 2024-09-20 19:56:22 +00:00
ghizard
e19ddda820 GP-0 - fix GP-4898 tests 2024-09-20 14:51:35 +00:00
Ryan Kurtz
4b00fe17d5 Merge remote-tracking branch 'origin/GP-0_ghizard_master_fix_build_issue_with_due_to_GP-4898_20240920' 2024-09-20 08:04:38 -04:00
ghizard
247fa65287 GP-0 - fix build issue from GP-4898 2024-09-20 12:03:47 +00:00
Ryan Kurtz
c08736bf19 Merge remote-tracking branch 'origin/GP-4946_dev747368_gnudemangler_npe' 2024-09-20 07:15:08 -04:00
Ryan Kurtz
e9e74502b6 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-20 07:13:50 -04:00
Ryan Kurtz
2fe68de0e2 Merge remote-tracking branch 'origin/GP-1-dragonmacher-minor-warning-fix' into Ghidra_11.2 2024-09-20 07:11:34 -04:00
ghidra1
57dbd2d37e Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-19 17:58:44 -04:00
ghidra1
6d6205f1db GP-0 partially reverted change from GP-4667 2024-09-19 17:22:17 -04:00
dev747368
243fcec030 GP-4946 fix NPE 2024-09-19 21:16:37 +00:00
Ryan Kurtz
4cbd20b3df Merge remote-tracking branch
'origin/GP-4898_ghizard_MDMang_process_C_style_mangled_function_symbols--SQUASHED'
(Closes #1514)
2024-09-19 09:47:33 -04:00
ghizard
737ea4d31f GP-4898 - All Demanglers: added MangledContext; Microsoft MDMang: added
C-style mangling scheme and moved Demangler type hierarchies out of
MDMang
2024-09-19 12:26:30 +00:00
ghidra1
a85d15e11b Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-18 14:49:53 -04:00
dragonmacher
c64f66e183 Updated documentation to fix html warning 2024-09-18 13:40:24 -04:00
ghidra1
093f6115b6 Merge remote-tracking branch
'origin/GP-4667_emteere_PartialValueConstantReferenceDisplay' into
Ghidra_11.2 (Closes #1564)
2024-09-18 13:40:19 -04:00
ghidra1
dcb12afb8b Merge remote-tracking branch 'origin/GP-4921_ghidragon_fixing_check-in_change_markers--SQUASHED' into Ghidra_11.2 2024-09-18 13:39:29 -04:00
ghidragon
42462a3258 GP-4921 fixed change markers after a check-in with the program open in the tool 2024-09-18 13:38:38 -04:00
ghidra1
e72d99a783 Merge remote-tracking branch 'origin/GP-4933-dragonmacher-call-trees-thunks--SQUASHED' into Ghidra_11.2 2024-09-18 13:36:22 -04:00
dragonmacher
1cadb4a26f GP-4933 - Fixed function call trees incorrectly dropping thunks 2024-09-18 12:26:22 -04:00
emteere
5b8c5644a7 GP-4667 Removed problematic scalar adjustment values for low byte mask
and high byte shift.  Also included mask and shift as part of the field
option "Include Scalar Reference Adjustment"
2024-09-18 10:26:47 -04:00
ghidra1
bd4d110a51 GP-0 Correct PyGhidra installEditablePyGhidra build task to work offline 2024-09-17 13:31:42 -04:00
Ryan Kurtz
e7e62d0fe6 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-17 11:25:06 -04:00
Ryan Kurtz
6931eb7019 GP-4934: Fixing potential ClassCasatException in
ExportDataDirectory.java
2024-09-17 10:37:55 -04:00
Ryan Kurtz
7670733fd2 Merge remote-tracking branch 'origin/GP-4922-dragonmacher-highlight-stack-trace' 2024-09-16 14:52:17 -04:00
Ryan Kurtz
cdb48034ff Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-16 14:11:01 -04:00
Ryan Kurtz
9a04ea643a Merge remote-tracking branch
'origin/GP-4932_ghidra007_fixCodeUnitInsertionIssue' into Ghidra_11.2
(Closes #6848)
2024-09-16 14:02:29 -04:00
ghidra007
6db5e3017e GP-4932 fixed code unit insertion issue 2024-09-16 17:47:31 +00:00
Ryan Kurtz
5d5777e0af Merge remote-tracking branch 'origin/GP-4925_dev747368_PR-6823_roblabla_fix-xml-import-namespaces' 2024-09-16 12:40:49 -04:00
Ryan Kurtz
077ab676aa Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-16 12:37:32 -04:00
dragonmacher
26759777a9 GP-4922 - Fixed exception in creating highlights 2024-09-16 11:52:41 -04:00
emteere
35a4455826 GP-4928 Added support for Hexdump and multi-line bytes field to PasteCopyiedListingBytesScript. Also added JUNIT tests. 2024-09-13 16:45:31 -04:00
Ryan Kurtz
7148590e5c Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-13 13:50:25 -04:00
Ryan Kurtz
e5aa0e8e5b Merge remote-tracking branch
'origin/GP-4761_ghidragon_fixing_small_bug_in_goto' into Ghidra_11.2
(Closes #6699)
2024-09-13 13:47:39 -04:00
Ryan Kurtz
5b46133312 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-13 13:12:31 -04:00
Ryan Kurtz
e03118aa92 Merge remote-tracking branch 'origin/GP-4927_ryanmkurtz_ne' into
Ghidra_11.2 (Closes #6889)
2024-09-13 13:08:00 -04:00
ghidragon
05258287b4 GP-4761 fixing bug in goto processing to handle multiple level
namespaces
2024-09-13 16:31:30 +00:00
Ryan Kurtz
3af17efcf6 Merge remote-tracking branch 'origin/GP-4911_ghidragon_remove_old_memory_search_code--SQUASHED' 2024-09-13 12:01:49 -04:00
Ryan Kurtz
2c0f43abf0 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-13 11:58:48 -04:00
Ryan Kurtz
fb6445277a Merge branch 'GP-4929_ryanmkurtz_PR-6890_wbierman_resolve_sleigh_uaf'
into Ghidra_11.2 (Closes #6890)
2024-09-13 11:54:07 -04:00
Ryan Kurtz
fe70b400b6 GP-4929: Certify 2024-09-13 11:51:28 -04:00
ghidragon
5956b2d51f GP-4911 removed old memory search code 2024-09-13 11:17:51 -04:00
Ryan Kurtz
2d8c0fbdd8 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-13 10:29:50 -04:00
Ryan Kurtz
b4d7747853 Merge remote-tracking branch
'origin/GP-4865_ghidra007_PR-6833_epinter_nsa-fixrttiloop' into
Ghidra_11.2 (Closes #6832, Closes #6833)
2024-09-13 10:26:09 -04:00
Ryan Kurtz
13d36c3c60 GP-4927: Fixing NeLoader IndexOutOfBoundsException 2024-09-13 07:43:21 -04:00
dev747368
1b26d26928 GP-4925 cert file from PR 2024-09-12 20:16:27 +00:00
Bill Bierman
f56473e604 Use emplace instead of copy constructor 2024-09-12 07:07:24 -10:00
ghidra007
150fe43efd GP-4865/PR-6833 added missing javadoc, minor format improvement 2024-09-11 19:31:12 +00:00
Emerson Pinter
527cee1b76 fix: stop recursion if function was already processed
Fixes issue #6832
2024-09-11 16:15:49 +00:00
Ryan Kurtz
2a7823b169 Merge remote-tracking branch 'origin/Ghidra_11.2' 2024-09-11 11:43:19 -04:00
ghidragon
454d1a92d3 GP-1 fixed broken help link for the dual listing view 2024-09-11 15:19:35 +00:00
Ryan Kurtz
c378cc40a2 GP-4816: Not trying to create python virtual environment during prepdev
is python is not installed
2024-09-11 08:41:54 -04:00
Ryan Kurtz
b58a0c90b2 Merge remote-tracking branch 'origin/GP-4816_ryanmkurtz_PR-6900_dc3-tsd_python3' 2024-09-11 07:26:36 -04:00
Ryan Kurtz
4a8713162a GP-4816: Certify and other small fixes 2024-09-11 06:35:02 -04:00
Ryan Kurtz
3edd98fc69 Merge remote-tracking branch 'origin/GP-4619_ghidragon_tweak_compare_funcions_actions_in_listing_and_decompiler--SQUASHED' into Ghidra_11.2 2024-09-11 06:16:19 -04:00
Ryan Kurtz
9b430059dd Merge remote-tracking branch 'origin/GP-4910_dev747368_fix_convert_to_signed_hex_menu_null' into Ghidra_11.2 2024-09-11 06:12:41 -04:00
dragonmacher
328b4d03ff Test fixes 2024-09-11 06:02:46 -04:00
dev747368
65c252f143 GP-4910 fix 'null' in convert menu -> signed hex on int data items 2024-09-10 21:30:54 +00:00
ghidragon
82be7283cd GP-4616 improving function comparison actions. Now works in the decompiler and in the body of any function in the listing. 2024-09-10 16:04:58 -04:00
Ryan Kurtz
30d7c9b38d Merge remote-tracking branch 'origin/GP-4854-dragonmacher-dt-indexer-sort-issue' into Ghidra_11.2 2024-09-09 15:49:22 -04:00
Ryan Kurtz
62819ff301 Merge remote-tracking branch 'origin/GP-4904_ghidra007_fixupPurecallFunctionDefinitions' into Ghidra_11.2 2024-09-09 15:10:15 -04:00
ghidra007
c3e618a2bb GP-4904 added method to fixup purecall defs 2024-09-09 18:38:49 +00:00
Ryan Kurtz
e59a6ed7ea GP-4895: Fixing old mentions of $HOME/.ghidra/.ghidra_<version> 2024-09-09 12:48:58 -04:00
Ryan Kurtz
c8a455e197 Merge remote-tracking branch 'origin/GP-0_Dan_deconflictIcons' into Ghidra_11.2 2024-09-09 11:51:21 -04:00
ghidragon
477af2c623 GP-1 fixed help text in memory search feature. 2024-09-09 15:38:36 +00:00
Dan
803786430e GP-0: Deconflict icon names: BSim vs Debugger. 2024-09-09 11:25:59 -04:00
Ryan Kurtz
5b81139197 Renaming Pyhidra to PyGhidra 2024-09-09 10:50:12 -04:00
DC3-TSD
92d0f1dacf Python3 support 2024-09-09 09:58:05 -04:00
Ryan Kurtz
f390125c1f Merge remote-tracking branch
'origin/GP-3808-emteere-SPARC_delaySlotReturn' (Closes #5646,
Closes #6300)
2024-09-09 06:04:06 -04:00
dragonmacher
69e95fed09 GP-4854 - Fixed issue in the Data Type Chooser dialog that caused
inconsistent auto-complete behavior.
2024-09-07 14:40:14 -04:00
emteere
edb74d7b7d GP-3808 Fixed sparc 32/64 prototype model, added missing instructions, fixed 64/32 relocations, handle call/return checking o7 link register 2024-09-07 14:29:02 -04:00
Bill Bierman
37838c180a Corrected use after free vulnerability in Sleigh decompiler backend 2024-09-06 08:49:10 -10:00
Ryan Kurtz
e3aae5740a Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-9-6-24' 2024-09-06 14:00:27 -04:00
dragonmacher
da4c6721d2 Test fixes 2024-09-06 13:59:31 -04:00
caheckman
8ab71bb73c GP-4890 Add support for mixed size extensions in cancelExtensions 2024-09-06 15:22:40 +00:00
Ryan Kurtz
3d7139e0a8 Merge remote-tracking branch
'origin/GP-4891-dragonmacher-stack-editor-exception' (Closes #6883)
2024-09-06 06:16:09 -04:00
Ryan Kurtz
c5f5da09a8 Merge remote-tracking branch
'origin/GP-4892-dragonmacher-enum-editor-fix' (Closes #6873)
2024-09-06 06:14:46 -04:00
Ryan Kurtz
5db439b57f Merge remote-tracking branch
'origin/GP-4897_dev747368_dwarf_rangelist_loclists_via_const_attrib_values'
(Closes #5982)
2024-09-06 06:13:02 -04:00
Ryan Kurtz
fbed72146b Merge remote-tracking branch 'origin/GP-4896-dragonmacher-listing-popup-fix' 2024-09-06 06:10:32 -04:00
dragonmacher
54f0995d85 Fixed popup window placement issue 2024-09-05 17:51:57 -04:00
dev747368
066a883e79 GP-4987 fix DWARF handling of rangelist and locationlists
The logic was not handling attributes encoded via dw_form_dataN (a
constant).

Additionally, quieted warnings about mismatched attribute/form
combinations.

Fixes issue #5982
2024-09-05 21:38:30 +00:00
dragonmacher
279698c4b2 GP-4892 - Enum Editor - Fixed incorrect cell being edited on Tab key
press while editing
2024-09-05 16:15:08 -04:00
dragonmacher
17772a2740 Test fixes 2024-09-05 13:21:12 -04:00
dragonmacher
28ea0c99f0 GP-4891 - Fixed an exception in the Stack editor when editing and using
the down arrow
2024-09-04 16:52:40 -04:00
Ryan Kurtz
0258fc3209 Merge remote-tracking branch 'origin/GP-4861-dragonmacher-watermark--SQUASHED' 2024-09-04 11:39:09 -04:00
dragonmacher
0c365b7afd GP-4861 - Created a way to show a message over a given component 2024-09-04 11:16:52 -04:00
Ryan Kurtz
ba5b54ce2e Merge branch 'GP-0_ryanmkurtz_PR-6885_RuffaloLavoisier_typo' 2024-09-04 11:07:28 -04:00
Ryan Kurtz
d6d00f78e6 GP-0: Certify 2024-09-04 10:58:16 -04:00
Ruffalo Lavoisier
c09ba2ceef Fix typo ghidra words on comments 2024-09-04 22:48:17 +09:00
Ryan Kurtz
4eefa887fb GP-0: Fixing some javadoc 2024-09-04 07:33:53 -04:00
Ryan Kurtz
8577082976 Merge remote-tracking branch 'origin/GP-4888-dragonmacher-action-fix'
(Closes #6868)
2024-09-04 06:05:28 -04:00
Ryan Kurtz
e0bf7b4c53 Merge remote-tracking branch 'origin/GP-4887_NearestArrayBug' 2024-09-03 06:39:39 -04:00
Ryan Kurtz
834cba1065 Merge remote-tracking branch 'origin/GP-4871_Int2FloatCasting'
(Closes #6760)
2024-09-03 06:37:54 -04:00
dragonmacher
f094c9266f GP-4888 - Fixed action enablement 2024-08-31 11:30:57 -04:00
caheckman
f703538ce1 GP-4887 Adjustments to nearestArrayedComponent 2024-08-30 23:30:27 +00:00
ghidra1
38445e387b GP-4886 Do not assign storage for DEFAULT/unassigned datatype and create
undefined-typedef instead of DWORD-typedef as a default named type when
demangling.
2024-08-30 15:01:43 -04:00
caheckman
e5969a613c GP-4871 Don't ignore signed to unsigned integer casts for
FLOAT_INT2FLOAT
2024-08-30 18:47:34 +00:00
Ryan Kurtz
fb16e960db GP-0: Fixing a case issue with headless command line argument parsing 2024-08-30 13:32:56 -04:00
Ryan Kurtz
187406f45b Merge remote-tracking branch 'origin/GP-4883_ghidra007_PR-6841_leechristensen_Fix_null_exception_in_PropagateExternalParamsScript' 2024-08-30 12:02:31 -04:00
ghidragon
8ef42de6d8 added ip for crystal icons to base module 2024-08-30 15:49:39 +00:00
ghidra007
ecf5fca015 GP-4883 fix null exception in PropagateExternalParamsScript 2024-08-30 15:38:32 +00:00
Ryan Kurtz
e9e89d0f76 Merge remote-tracking branch 'origin/GP-4559_ghidragon_prototype_alt_mem_search' 2024-08-30 10:56:58 -04:00
Ryan Kurtz
be6c7034c9 Merge remote-tracking branch 'origin/GP-4872_ghidra007_rtti_add_check_for_existing_constructor_return_type--SQUASHED' 2024-08-30 10:53:38 -04:00
ghidra007
7825f8fd4d GP-4872 update to all add function to namespaces methods to commit the function so as to not overwrite decomipler when making other changes via listing. Also added check for existing equivalent listing constructor return type before setting it to class structure pointer. 2024-08-30 14:47:36 +00:00
Ryan Kurtz
184180d54d GP-0: Safeguarding Mach-O sections living outside of their segment
during Program Tree creation (Closes #6865)
2024-08-30 08:46:03 -04:00
Ryan Kurtz
129109ea3b GP-4884: Fixing IndexOutOfBoundsException in OMF 2024-08-30 06:54:42 -04:00
ghidragon
7f7559df56 GP-4559 Creating new Memory Search Feature that include dynamic change
detection
2024-08-30 01:37:26 +00:00
Ryan Kurtz
bc46e577b7 GP-4722: More OMF header markup 2024-08-29 14:13:28 -04:00
Ryan Kurtz
27c162ee8f GP-0: Skeleton's build.grade was interfering with building natives in a
release
2024-08-29 07:03:54 -04:00
ghidra1
49592e40c9 Merge remote-tracking branch
'origin/GP-4867_ghidra1_BSimDBConnection--SQUASHED' (Closes #6703)
2024-08-28 16:41:29 -04:00
ghidra1
249d91f0a1 GP-4867 Added BSim Server connection toggle for H2 and Postgres. Fixed various related bugs. 2024-08-28 15:46:47 -04:00
Ryan Kurtz
a4d97ff872 Merge remote-tracking branch 'origin/GP-4876_Dan_jshellRun--SQUASHED' 2024-08-28 11:40:04 -04:00
Dan
42b73252f1 GP-4876: JShell launcher for Ghidra 2024-08-28 11:19:29 -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
Ryan Kurtz
1e68becd75 GP-4874: Cleanup 2024-08-27 13:19:39 -04:00
foralost
62b96db10b getValueAsInt - Checking if parsed long is within Java Integer.INT range
getValueAsInt - Using the int copy of NumerUtilities.parseLong
AskDialog: Organize commits
2024-08-27 12:40:38 -04:00
Ryan Kurtz
b30a94edc6 Merge remote-tracking branch 'origin/GP-4860_ryanmkurtz_yajsw--SQUASHED' 2024-08-27 11:56:05 -04:00
dragonmacher
08004a3376 Test fixes 2024-08-27 09:31:53 -04:00
Ryan Kurtz
05c1e55647 Merge remote-tracking branch 'origin/GP-4859_RuleOrCompare'
(Closes #6578)
2024-08-26 14:34:56 -04:00
Ryan Kurtz
3633443007 GP-4874: AskDialog now uses Integer.decode() and Long.decode() to parse
better
2024-08-26 13:47:25 -04:00
Ryan Kurtz
aac3e5ad1c Merge remote-tracking branch 'origin/GP-4782_PtrsubUndo' 2024-08-26 12:35:12 -04:00
caheckman
a31c4033a8 GP-4859 RuleOrCompare 2024-08-26 16:34:18 +00:00
Ryan Kurtz
bc1f6b38be Merge remote-tracking branch 'origin/GP-4790_CopyForceForm' 2024-08-26 12:31:44 -04:00
Ryan Kurtz
f0017700b7 Merge remote-tracking branch 'origin/GP-4150_dev747368_dwarf_param_storage' 2024-08-26 11:03:58 -04:00
dev747368
de80c63e63 GP-4150 add option to ignore DWARF func param storage info
Add option to DWARF analyzer to ignore storage locations specified for
function parameters.
(the info provided by DWARF info will often not be directly at the func
entry point and requires future dev effort to walk the parameter info
backwards to get it)

Add option to DWARF analyzer to set the default calling convention of
functions created via the analyzer.
2024-08-23 20:02:04 +00:00
Ryan Kurtz
2eb39242f9 Merge branch 'GP-0_ryanmkurtz_PR-6844_epinter_fix-npepdb' 2024-08-23 13:44:28 -04:00
Ryan Kurtz
d73a977ca1 GP-0: Certify 2024-08-23 13:43:53 -04:00
Ryan Kurtz
d87add933e Merge remote-tracking branch 'origin/GP-4863_ghidra007_PR-6834_epinter_RTTI_Script_cache_vfunctions' 2024-08-23 11:50:04 -04:00
Ryan Kurtz
67851b9e05 GP-4860: Upgrading yajsw to 13.12 2024-08-22 13:55:17 -04:00
Ryan Kurtz
e45e1e3844 GP-4869: Better error handling when dyld subcache files are missing 2024-08-22 13:42:29 -04:00
Emerson Pinter
8011144b96 fix: restore debugInfo null check
Restore the fix implemented by d86b60e6b2
2024-08-22 14:25:34 -03:00
Ryan Kurtz
2e15f67384 Merge remote-tracking branch
'origin/GP-4855_ryanmkurtz_offset-fields--SQUASHED' (Closes #6794)
2024-08-22 07:47:41 -04:00
Ryan Kurtz
fb6f853392 GP-4855: Adding new fields and copy specials for various types of address offsets 2024-08-22 07:46:05 -04:00
Lee Chagolla-Christensen
0e558caa3d
Fix null exception in PropagateExternalParametersScript.java 2024-08-21 15:06:25 -07:00
Ryan Kurtz
c8a838615d Merge remote-tracking branch 'origin/GP-4862_fixDupeNamespaceCreation' 2024-08-21 16:09:30 -04:00
ghidra007
07d2c34b3f GP-4862 fixed gcc dupe namespace creation mechanism. 2024-08-21 16:57:21 +00:00
ghidra1
47146d25f2 Merge remote-tracking branch 'origin/GP-4740_ghidra1_CompositeEditorUndoRedo--SQUASHED' 2024-08-20 13:13:26 -04:00
ghidra1
0ccb142e7e GP-4740 Added undo/redo support to composite editor. Switched actions to use isEnabledForContext. Transitioned VT FilterFormattedTestField to GFormattedTextField and use for editor text entry fields. Cleanup of old datatype tree actions no longer in use. Lots of changes to improve handling of data type dependency changes and restored original DTM. 2024-08-20 13:06:03 -04:00
caheckman
2ef83410be Merge branch
'GP-0_caheckman_PR-6578_LukeSerne_decomp-rule-int-or-zero-compare' into
GP-4859_RuleOrCompare
2024-08-20 15:45:19 +00:00
Emerson Pinter
cab8ed6068 feat: cache vfunctions list
The vfunctions are collected and compared in two loops against all the
recoveredClasses, this takes time if the binary have many classes. This
commit makes the vfunctions list and the vftable address to be stored
in a map, making the vfunctions list and create happen only once.
2024-08-19 23:13:23 -03:00
dragonmacher
2ebd43f3c6 Test fixes 2024-08-19 16:32:24 -04:00
Ryan Kurtz
3588ecdab7 GP-0: Fixing javadoc warnings 2024-08-19 11:39:05 -04:00
roblabla
f0ec22e9b0 Fix wrong namespaces when using XML imports 2024-08-18 23:47:50 +02:00
Ryan Kurtz
2c3a815163 Merge remote-tracking branch 'origin/GP-2559_MaxFloatPrecision'
(Closes #4586, Closes #6708)
2024-08-16 13:31:11 -04:00
caheckman
614f20cfa3 GP-4790 Collapse double precision COPY to address forced storage 2024-08-16 16:26:52 +00:00
caheckman
34adcff830 GP-4782 Refactor RulePtrsubUndo 2024-08-16 15:56:39 +00:00
Ryan Kurtz
95321015d9 GP-4848: Remember last open file system directory 2024-08-15 07:20:08 -04:00
Ryan Kurtz
3b175b9bf9 Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-8-14-24' 2024-08-15 06:02:06 -04:00
dragonmacher
93bbe03eee Test fixes 2024-08-14 20:55:51 -04:00
ghidra1
040af66a3a GP-0 Updated Help for Undo/Redo Archive Change 2024-08-14 19:22:03 -04:00
caheckman
520dc99b11 GP-2559 Calculate maximum precision reaching floating-point operations 2024-08-14 17:19:05 +00:00
Ryan Kurtz
5b29c4d66c Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-8-13-24' 2024-08-13 10:29:04 -04:00
dragonmacher
4ee2d81c49 Test fixes 2024-08-13 10:18:37 -04:00
Ryan Kurtz
ab89202848 Merge remote-tracking branch 'origin/GP-4843_ghizard_PR-6788_alandtse_namespace_in_bitfield' 2024-08-13 09:45:54 -04:00
Ryan Kurtz
9d8a2e1b27 Merge remote-tracking branch 'origin/patch' 2024-08-13 09:42:46 -04:00
Ryan Kurtz
8509c3a9e4 GP-4844: Fixed ClassSearcher exception when launching from single jar
mode (Closes #6809)
2024-08-13 09:16:59 -04:00
ghizard
f17f94929e GP-4843 - PDB MSDIA proc of namespace and bit-fields - change initial
name test
2024-08-13 12:59:13 +00:00
Ryan Kurtz
33867f718b Merge remote-tracking branch 'origin/GP-4735_dev747368_pdb_trusted_symbolserver--SQUASHED' 2024-08-12 14:19:48 -04:00
Ryan Kurtz
c4a79eeb2f Merge remote-tracking branch 'origin/GP-4836_dev747368_cleanup_getopt_execformat' 2024-08-12 14:13:41 -04:00
Ryan Kurtz
bcc05793f7 Merge remote-tracking branch
'origin/GP-1359-dragonmacher-byte-selection-update--SQUASHED'
(Closes #2482)
2024-08-12 14:09:07 -04:00
dev747368
dcc56457ea GP-4735 refactor pdb symbol server 'remote' to 'untrusted'
Change name of symbolserver 'remote' property to 'untrusted' to reflectits intended usage.Add column in config table to allow user to toggle trusted status onhttp:// symbol servers (the only type that currently supports thisconcept)
2024-08-12 12:49:58 -04:00
dragonmacher
4cda642e9c GP-1359 - Updated the Listing and Byte Viewer to show selection size as the user drags 2024-08-12 12:04:38 -04:00
Ryan Kurtz
d007200b11 Merge remote-tracking branch 'origin/GP-4691-dragonmacher-program-tree-mousing--SQUASHED' 2024-08-12 06:37:52 -04:00
Ryan Kurtz
4ac6cf5206 Merge remote-tracking branch
'origin/GP-4822_ghizard_PDB_U_add_char8_t_primitive_types' (#6744)
2024-08-12 06:35:50 -04:00
Ryan Kurtz
81149a4dcc Merge remote-tracking branch
'origin/GP-4824_ghizard_PDB_MSDIA_process_types_with_NoType' (#6744)
2024-08-12 06:33:48 -04:00
Alan Tse
7d666ea34c fix: handle namespaces when processing bitfields
Handle cases where namespaces may be provided in a pdb member name. The
code incorrectly assumed that namespaces may never appear if PDB.kind
was a Member.
2024-08-11 18:06:29 -07:00
dragonmacher
c17d11a8d1 GP-4691 - Program Tree - Updated navigation; updated keybindings; added an action to 'add to view' 2024-08-10 13:39:07 -04:00
dev747368
ffaa3398ca GP-4836 cleanup "Executable Format" option usage 2024-08-09 19:47:03 +00:00
Ryan Kurtz
5047c00359 Merge remote-tracking branch 'origin/GP-4812_ghidra007_add_voidptr_this_to_vfunc_defs' 2024-08-08 15:45:09 -04:00
Ryan Kurtz
ebb4027d8b Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-8-8-24' 2024-08-08 12:59:35 -04:00
dragonmacher
ad41cb38bd test fixes 2024-08-08 12:53:21 -04:00
Ryan Kurtz
87e259e6aa Merge remote-tracking branch
'origin/GP-4823_ghizard_Demangler_add_char8_t' (#6744)
2024-08-08 11:30:47 -04:00
Ryan Kurtz
293cca1fa9 Merge remote-tracking branch 'origin/patch' 2024-08-08 11:28:48 -04:00
dragonmacher
518860f0d6 GP-4825 - Gnu Demangler - Update parser for some special global constructor/destructor symbols 2024-08-07 18:59:49 -04:00
ghizard
6b8cc1a5b5 GP-4824 - PDB MSDIA - deal with NoType types 2024-08-07 18:28:59 +00:00
ghizard
5878f4fd4c GP-4823 - Demangler - initial treatment of char8_t 2024-08-07 18:17:04 +00:00
Ryan Kurtz
351374286b Merge branch 'GP-4827_ryanmkurtz_PR-6744_alandtse_malformed_pdb_datatypes' 2024-08-07 14:12:34 -04:00
Ryan Kurtz
74be258549 GP-4827: Certify 2024-08-07 14:10:55 -04:00
ghizard
45b86dfacf GP-4822 - PDB Universal - add char8_t 2024-08-07 17:03:12 +00:00
Ryan Kurtz
df4f05bcf9 Merge remote-tracking branch 'origin/GP-4669_ryanmkurtz_pe'
(Closes #6571)
2024-08-07 11:14:54 -04:00
Ryan Kurtz
ed96131506 Merge remote-tracking branch
'origin/GP-3810-dragonmacher-demangler-name-mapping--SQUASHED'
(Closes #5725)
2024-08-07 11:13:45 -04:00
Ryan Kurtz
27b8e12fd0 GP-4669: PeLoader now ignores the Import Table data directory size like
the real loader does.

Also fixed a lot of warnings.
2024-08-07 06:39:08 -04:00
Ryan Kurtz
0c40301101 Merge remote-tracking branch
'origin/GP-4261-dragonmacher-vt-options-description' (Closes #6026)
2024-08-06 14:48:11 -04:00
Ryan Kurtz
4852a1ca2f Merge branch
'GP-4705_ryanmkurtz_PR-6305_agatti_segmented-scalar-memory-reference'
2024-08-06 11:01:35 -04:00
Ryan Kurtz
df9f27e866 GP-4705: Cleanup 2024-08-06 10:52:49 -04:00
dragonmacher
ed8f22d47c GP-4261 - Version Tracking - Fixed 'Unregistered Option' tooltip 2024-08-05 19:00:10 -04:00
dragonmacher
9018ece7c0 Gnu Demangler - Added support for demangler simplifications 2024-08-05 17:02:22 -04:00
Ryan Kurtz
4737bbfc5d Merge remote-tracking branch 'origin/GP-4818-dragonmacher-combo-box-renderer' 2024-08-05 15:37:34 -04:00
dragonmacher
5ef04e831c GP-4818 - Theming - Added a combo box renderer to do combo box things 2024-08-05 15:21:06 -04:00
Ryan Kurtz
341522cc86 Merge remote-tracking branch 'origin/patch' 2024-08-05 11:15:45 -04:00
Ryan Kurtz
95573ed834 Merge remote-tracking branch
'origin/GP-4792_James_adjust_call_convention_analyzer' into patch
2024-08-05 11:12:53 -04:00
Ryan Kurtz
99f2598862 Merge branch 'GP-4805_dev747368_batchimport_options' (Closes #6714) 2024-08-05 10:52:11 -04:00
dev747368
a759c6e81f GP-4805 persist Batch Import dialog checkbox state
From github issue #6714
2024-08-05 10:50:23 -04:00
James
b3c9eec8f9 GP-4792 adjust call convention analyzer 2024-08-05 14:40:48 +00:00
ghidra007
12fcbe63bc GP-4812 update vfunctions to use void* this instead of formal signature 2024-08-02 20:39:03 +00:00
ghidra007
c153d30c8d GP-4808 new script to remove quotes from primary analysis and imported
symbols.
2024-08-01 23:54:38 +00:00
Ryan Kurtz
7e9a24c6bc Merge remote-tracking branch 'origin/GP-4787_ghidra007_improveVTHelp_deleteMatches--SQUASHED' 2024-08-01 06:17:05 -04:00
ghidra007
b1ab4404b5 GP-4787 VT delete match help improvements 2024-07-31 15:13:12 +00:00
dragonmacher
124347ffe1 Test fixes 2024-07-31 10:59:07 -04:00
ghidra1
fb7ebd726e Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-debug-7-30-24' 2024-07-30 15:37:44 -04:00
dragonmacher
1a097da011 Test debug 2024-07-30 14:33:13 -04:00
ghizard
5fed6e853e GP-4800 - Fix AbstractProgramBasedTest addr() method to use passed param 2024-07-30 16:20:15 +00:00
ghidra1
47b08753e5 Merge remote-tracking branch 'origin/GP-4742_emteere_PSPECImprovements--SQUASHED' 2024-07-29 18:05:41 -04:00
ghidra1
0cd7ad177e Merge remote-tracking branch 'origin/GP-1899_ghidra1_StructureBitfieldComponentBug' 2024-07-29 17:59:32 -04:00
ghidra1
7df082198a Merge remote-tracking branch 'origin/patch' 2024-07-29 17:57:26 -04:00
ghidra1
ae18bdb413 Merge remote-tracking branch 'origin/GP-4797_ghidra1_EnumDataType' into
patch (Closes #6765)
2024-07-29 17:51:53 -04:00
emteere
bceb82f733 GP-4742 Added addr='next' to pspec labels. Constrained address spaces for heuristic references 2024-07-29 17:46:50 -04:00
ghidra1
8cf1450b0e GP-4799 Respect ELF Skip Relocation Option 2024-07-29 16:59:44 -04:00
ghidra1
1d641f5197 GP-4797 corrected thread safety issue with EnumDataType.getNames method 2024-07-29 15:53:53 -04:00
ghidra1
02b0dfe5d1 GP-1899 Corrected bit-field component and editor issues for structure
editor
2024-07-29 15:28:31 -04:00
Ryan Kurtz
73018adb80 GP-4795: Initial support for Visual Studio Code script and module
development
2024-07-29 08:11:22 -04:00
Ryan Kurtz
88bec10e60 GP-3490: Fixing GhidraDev classpath issues 2024-07-26 13:12:29 -04:00
Ryan Kurtz
8cde73e787 Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-7-25-24' 2024-07-26 06:00:45 -04:00
dragonmacher
67c0ff8c27 Version Tracking test fixes 2024-07-25 20:56:30 -04:00
emteere
98a2a522a0 GP-4596 Code review changes 2024-07-24 19:07:57 -04:00
emteere
04972dc810 GP-4569 Pic instruction modifications, analyzer fix for 0 values in
small registers affecting PCLATH, modification of PIC16 analysis
defaults
2024-07-24 19:07:53 -04:00
ghidra1
9ddc65d7e5 GP-4324 Improved Function Editor for Decompiler use to limit full commit and added checkbox to control full commit 2024-07-24 10:44:41 -04:00
dragonmacher
eae286f993 Added new compile dependency to Verstion Tracking 2024-07-24 10:06:06 -04:00
Ryan Kurtz
9c8bb2dd8b Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes' 2024-07-24 05:56:10 -04:00
dragonmacher
0fbd23653d Fixed tests failing to recent Version Tracking updates. Added a
priority to Version Tracking address correlators.
2024-07-23 18:01:38 -04:00
Ryan Kurtz
a0e8a68337 Merge remote-tracking branch 'origin/GP-4733_HeapStrings' 2024-07-22 13:55:20 -04:00
caheckman
9a416877e8 GP-4733 Heap strings 2024-07-22 16:11:58 +00:00
Alan Tse
d8ae172125 Fix parsing of recoverable malformed datatypes
MSVC sometimes generates pdbs where there is an implied datatype such as
pointers `*` or arrays `[16]`. While the actual datatype is unknown,
Ghidra has undefined to cover this use case.

This avoids an error on PDB import which would have a cryptic message:
"Symbol list must contain at least one symbol name!" without any info
on what caused the issue.
2024-07-22 01:24:28 -07:00
ghidra007
f657b11c1d GP-4748 Updated RttiUtil's find end of vftable to be more accurate. 2024-07-19 21:48:15 +00:00
Ryan Kurtz
220d6d9f58 Merge remote-tracking branch 'origin/GP-4773_ghizard_PDB_fix_class_namespace_from_mangled--SQUASHED' 2024-07-19 09:06:26 -04:00
ghizard
c26a290c14 GP-4773 - PDB - Standardize namespaces and improve class namespace determination; involved MDMangUtils too; re-instates GP-4595 change 2024-07-18 18:21:21 -04:00
Ryan Kurtz
20297b58b6 Merge remote-tracking branch
'origin/GP-4410-dragonmacher-vt-filters--SQUASHED' (Closes #6281,
Closes #6066)
2024-07-18 14:57:21 -04:00
Ryan Kurtz
7d28136399 Merge remote-tracking branch 'origin/patch' 2024-07-18 14:56:19 -04:00
dragonmacher
9f73d23ee4 GP-4410 - Version Tracking - Added support for deleting matches; Added table column filters 2024-07-18 13:54:26 -04:00
ghidragon
8225c10b6c GP-4779 fixed issue in add references dialog where moving mouse would
sometimes reset address space choice in comboBox.
2024-07-18 13:00:29 -04:00
Ryan Kurtz
2760eebc92 Merge remote-tracking branch 'origin/patch' 2024-07-17 13:27:11 -04:00