Commit Graph

4925 Commits

Author SHA1 Message Date
Dan
2b6ea93c9c GP-3161: Some emulation framework improvements. 2023-03-03 13:55:54 -05:00
ghidragon
2e317cd87f GP-2943 changed Structure/Union editor to show hex values by default. 2023-03-03 12:43:46 -05:00
Ryan Kurtz
a9baf9f6d8 GP-0: Fixing exception with library folder selection 2023-03-03 06:33:28 -05:00
Pokechu22
e4ab760242 Add rule to simplify lzcount followed by right shift 2023-03-02 18:30:04 -08:00
Pokechu22
14880b53c4 Create and use LZCOUNT Pcode op 2023-03-02 18:30:04 -08:00
Ryan Kurtz
4d0511b61b Merge branch 'GP-0_ryanmkurtz_PR-5034_foralost_yara-firstcommit'
(Closes #5034, Closes #1467)
2023-03-02 12:12:23 -05:00
Ryan Kurtz
be39e279bd Merge remote-tracking branch 'origin/GP-3152_ghidra1_EliminateElfHeaderMutabilityAndWriting' 2023-03-02 11:43:19 -05:00
Ryan Kurtz
59c8579d24 Merge remote-tracking branch 'origin/GP-3149_dev747368_fix_scriptpanel_error--SQUASHED' 2023-03-02 11:41:31 -05:00
Ryan Kurtz
b78cb24fc0 Merge remote-tracking branch 'origin/GP-3143_ghidra1_PeLoaderCompilerIdent' 2023-03-02 11:39:37 -05:00
dev747368
3be8cb746c GP-3149 fix display of error in script manager
Script manager was displaying 'Error! no script info' whenever there wasn't a script selected.
2023-03-01 18:31:50 -05:00
ghidra1
5dd1e8734f GP-3152 eliminated the public mutability and writing of ELF Headers 2023-03-01 13:52:01 -05:00
Ryan Kurtz
a77f5a18f4 Merge remote-tracking branch 'origin/patch' 2023-03-01 08:05:31 -05:00
Ryan Kurtz
770997dd73 GP-3151: Fixing exception when parsing dyld_chained_fixups 2023-03-01 07:57:20 -05:00
ghidra1
b24d407e24 GP-3143 PeLoader compiler opinion simplification 2023-02-28 20:02:27 -05:00
ghidra1
725c752320 Merge branch 'GP-3122_ghidra1_AutoTransaction' 2023-02-28 14:53:27 -05:00
ghidra1
1795c35dfc GP-3122 Added AutoCloseable Transaction API to DBHandle and
UndoableDomainObject.  Performed renaming of some internal classes.
2023-02-28 14:16:25 -05:00
Ryan Kurtz
50a8d533e2 Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-02-28-23' 2023-02-28 13:57:32 -05:00
Ryan Kurtz
73e4c17f2a Merge remote-tracking branch 'origin/GP-2717_TokenSymbolAccess'
(Closes #4670)
2023-02-28 13:12:26 -05:00
dragonmacher
83c7a6d319 Test fixes 2023-02-28 11:12:31 -05:00
Ryan Kurtz
10c7d641f0 Merge branch 'GP-0_ryanmkurtz_PR-5032_astrelsky_LoadException' 2023-02-28 08:03:29 -05:00
dragonmacher
2ea7896393 Fixed html rendering bug 2023-02-27 17:47:54 -05:00
caheckman
a5ba9e390c GP-2717 Symbol attached to variable declarations 2023-02-27 16:50:09 -05:00
Ryan Kurtz
59371bfb36 Merge branch 'GP-3141_ryanmkurtz_PR-4909_Gravelbones_omf_reloc'
(Closes #4909, Closes #4793, Closes #4777)
2023-02-27 09:45:05 -05:00
Ryan Kurtz
7728c7b55e GP-3141: Code cleanup and certify 2023-02-27 09:25:20 -05:00
foralost
ab6c2d2c1d Removing redunant 'or $STR1' from condition 2023-02-25 17:35:17 +01:00
Andrew Strelsky
ac8bab0573
Added missing LoadException constructors 2023-02-25 08:48:28 -05:00
Ryan Kurtz
19066d1588 Merge remote-tracking branch
'origin/GP-3115-dragonmacher-function-editor-table-issue--SQUASHED'
(Closes #4970)
2023-02-25 07:35:05 -05:00
Ryan Kurtz
4833a60171 Merge remote-tracking branch 'origin/GP-3126_ConcatTreeJoin' 2023-02-25 07:33:02 -05:00
Ryan Kurtz
25a306b93b Merge remote-tracking branch
'origin/GP-1851_ghidra007_PR-4514_xiaoyinl_patch-3' (Closes #4906,
Closes #2208)
2023-02-25 07:31:08 -05:00
caheckman
7d6c6d28be GP-3126 Join support for CONCAT trees 2023-02-23 20:01:05 -05:00
Gravelbones
bc5787a557 Fix error from #5016 2023-02-23 20:44:51 +01:00
Gravelbones
8040c08250 Handle Floating Point special names in relocation 2023-02-23 20:44:49 +01:00
Gravelbones
fb3790138e Fix problem introduced by #5016 2023-02-23 20:44:47 +01:00
Gravelbones
9fe70d3828 OMf format: Refactor relocation code and add type 2 and 3
(Fixes: #4777, #4793)
2023-02-23 20:44:41 +01:00
dragonmacher
eea6af4d2c GP-3115 - Fixed focus issue with editing data types in the Function Signature Editor dialog 2023-02-23 10:42:50 -05:00
ghidra1
f1aa3d6618 Merge remote-tracking branch 'origin/GP-3125_ghidra1_DemanglerAnalyzers--SQUASHED' 2023-02-22 19:04:48 -05:00
ghidra1
15139ae2be Merge remote-tracking branch 'origin/GP-3127_ghizard_PDB_Override_overzealous_thunk_detection' 2023-02-22 19:04:28 -05:00
ghidra1
ac8676f0f6 Merge remote-tracking branch
'origin/GP-3071v2_Dan_moveNewEmulator--SQUASHED'

Conflicts:
	Ghidra/Debug/ProposedUtils/src/main/java/ghidra/pcode/exec/PcodeProgram.java
2023-02-22 18:59:02 -05:00
Dan
362408a290 GP-3071: Remove stale 'commitByDefault' documentation
GP-3071: Fix test compilation
GP-3071: Certify
GP-3071: Put lifecycle stuff in Emulation, not Utility
GP-3071: Fix tests
GP-3071: Mock language for framework tests
GP-3071: WIP: Move tests and sort out dependencies
GP-3071: Actually, not Generic, but Emulation
GP-3071: Move both emulators into new Emulation module
GP-3071: WIP: Move some tests
GP-3071: NICK: Remove import/ref from PcodeEmulator javadoc
GP-3071: WIP: Move stuff
GP-3071: WIP: Move AnnotationUtilities
GP-3071: NICK: Remove an import and ref in javadoc
GP-3071: Create SysteEmulation feature. Move stuff.
GP-3071: WIP: Move stuff
GP-3071: Create emulation module
2023-02-22 18:47:47 -05:00
ghidra1
931856314b GP-3125 demangler analyzer improvement to try non-primary symbols when imported primary symbol fails to demangle. 2023-02-22 18:44:16 -05:00
ghizard
407fe706d8 GP-3127 - PDB - Override overzealous thunk detection 2023-02-22 15:10:38 -05:00
ghidra007
f92c30df38 GP-1851 Cleaner way of checking program's compiler option. 2023-02-22 19:56:05 +00:00
ghidra007
2151197aac GP-1851 PeLoader PR to handle mingw. GnuDemangler updates to work on
windows gcc.
2023-02-22 19:13:32 +00:00
Xiaoyin Liu
417b784e27 Correct wrong GCC/VS compiler detection
The GCC's offset to code may not necessarily be 0x1000.
2023-02-22 19:13:27 +00:00
ghidra1
bdc6f56c40 Merge remote-tracking branch 'origin/GP-0_ghidra1_GhidraProjectCleanup' 2023-02-22 10:00:39 -05:00
Ryan Kurtz
a0c3b73263 Merge remote-tracking branch 'origin/patch' 2023-02-22 08:19:00 -05:00
Ryan Kurtz
fc4f3d0e45 Merge remote-tracking branch 'origin/GP-3121_ghidra1_ValidUsernames' into patch 2023-02-22 08:16:16 -05:00
Ryan Kurtz
87cc8c2993 Merge branch
'GP-3120_ryanmkurtz_PR-4748_johanngan_switch-override-conditional'
(Closes #4747, Closes #4748)
2023-02-22 07:56:00 -05:00
Ryan Kurtz
d9a6dbecbf Merge remote-tracking branch 'origin/patch' 2023-02-22 07:21:28 -05:00
endrin
69f6dae46f Fix several Gradle 8.x compatibility issues
Addressed the following deprecations:

* [JacocoMerge task removed:](https://docs.gradle.org/current/userguide/upgrading_version_7.html#jacocomerge_task_removed)
deleted jacocoMerge task, moved its inputs to jacocoReport.
* [`classifier` property removed from archive tasks:](https://docs.gradle.org/current/userguide/upgrading_version_7.html#abstractarchivetask_api_cleanup)
replaced `classifier` calls with `archiveClassifier.set`.
* [execResult getter property removed from exec tasks:](https://docs.gradle.org/current/userguide/upgrading_version_7.html#abstractexectask_api_cleanup)
replaced with `executionResult.get`.
2023-02-22 06:55:47 -05:00
ghidra1
dd5bd32aad GP-3121 allow Ghidra Server usernames to start with a numeric digit 2023-02-21 19:31:34 +00:00
Ryan Kurtz
ebde3f7250 Merge remote-tracking branch 'origin/GP-2603_ConditionalConstPhiNode'
(Closes #4527)
2023-02-21 12:43:56 -05:00
Ryan Kurtz
fece9ce5f7 Merge remote-tracking branch 'origin/GP-2587_InjectionErrorHandling' 2023-02-21 12:40:49 -05:00
caheckman
e996440c77 GP-2586 Exceptions for injection error conditions 2023-02-21 11:34:07 -05:00
Ryan Kurtz
b3a7f0ba08 Merge branch 'GP-3118_ryanmkurtz_PR-5016_Gravelbones_omf_fixes'
(Closes #5016)
2023-02-21 07:37:37 -05:00
Ryan Kurtz
07aa5607f5 GP-3118: Code cleanup 2023-02-21 07:35:31 -05:00
Ryan Kurtz
2a84e11dec GP-3117: Code cleanup 2023-02-21 07:15:32 -05:00
Scott Percival
c4088db81c Add OmfRecord support for CEXTDEF
Make OmfLoader add dummy functions at entrypoints

Fix conditional read when parsing FIXUP records

Fix typo in function name
2023-02-21 06:25:56 -05:00
Gravelbones
04134e06c3 OMF Format: Fix COMMENT_CLASS_LIBMOD handling 2023-02-20 20:54:23 +01:00
Gravelbones
7e2549476e OMF format: Fix record name for 32 bit types 2023-02-20 19:44:06 +01:00
Ryan Kurtz
e77410ce03 Merge branch 'GP-0_ryanmkurtz_PR-5011_LukeSerne_fix-type-replacement-typo' 2023-02-19 16:00:52 -05:00
LukeSerne
ce5e19fddf
Fix typos in ReplaceDataTypeAction 2023-02-19 17:42:43 +01:00
Ryan Kurtz
2df54f37f5 Merge remote-tracking branch 'origin/GP-1123_PlaceholderStructCollision'
(Closes #3196)
2023-02-18 07:36:41 -05:00
ghidra1
5165b64802 Merge branch 'GP-0_ghidra1_DBExceptions' 2023-02-17 22:06:00 -05:00
ghidra1
a9f778ddb0 GP-0 DB exception improvements/cleanup 2023-02-17 22:05:20 -05:00
caheckman
042dbbcaba GP-2603 Handle conditional constant propagation in phi-nodes 2023-02-17 16:38:48 -05:00
Ryan Kurtz
dc927fc7be Merge remote-tracking branch
'origin/GP-3089-dragonmacher-theme-fixups-part-2'
2023-02-17 12:54:43 -05:00
dragonmacher
7adfd1e8fb GP-3089 - Theme Fixes 2023-02-17 11:19:02 -05:00
dragonmacher
f7e875fde8 GP-3103 - Updated some Memory Map table columns to used a fixed width
font
2023-02-17 10:58:25 -05:00
ghidra1
6988976f09 GP-0 GhidraProject cleanup of importProgram methods accepting
DomainFolder or project folder-path arg
2023-02-16 19:45:35 -05:00
Ryan Kurtz
b252544c15 Merge remote-tracking branch 'origin/GP-2848-dragonmacher-theme-fixups' 2023-02-16 12:50:44 -05:00
Ryan Kurtz
0a69324d90 Merge remote-tracking branch 'origin/GP-3105-dragonmacher-dialog-stack-trace' 2023-02-16 12:48:27 -05:00
Ryan Kurtz
1e8d324166 Merge remote-tracking branch 'origin/patch' 2023-02-15 13:50:45 -05:00
Ryan Kurtz
498b5c0ba6 Merge remote-tracking branch 'origin/GP-3093_ghidra1_ElfGotNPE' into patch 2023-02-15 13:46:01 -05:00
dragonmacher
c3c9473aec GP-3105 - Fixed stack trace related to disposed dialog 2023-02-15 11:21:44 -05:00
Ryan Kurtz
687499063f Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-2-15-23' 2023-02-15 10:59:27 -05:00
dragonmacher
32efa223e7 Test fixes 2023-02-15 10:52:32 -05:00
Ryan Kurtz
aa1e3b3819 GP-2958: Removing unused ProgramCoordinator class 2023-02-15 08:34:42 -05:00
Ryan Kurtz
de43406322 Merge remote-tracking branch
'origin/GP-2877_ryanmkurtz_loader--SQUASHED' (Closes #4929)
2023-02-15 08:05:11 -05:00
Ryan Kurtz
c01e6fc4a1 Merge remote-tracking branch 'origin/GP-3100_dev747368_fix_filesystem_password_dialog_NPE--SQUASHED' 2023-02-15 08:00:49 -05:00
dev747368
b0748aa072 GP-3100 fix file system password input dialog NPE 2023-02-14 17:55:27 -05:00
Ryan Kurtz
1574262722 GP-2877: Refactoring Loader and AutoImporter to better accommodate loading more than one thing 2023-02-14 15:33:06 -05:00
dragonmacher
955d4b3998 GP-2842 - Theme consistency updates 2023-02-13 18:35:35 -05:00
Ryan Kurtz
7f3eed0497 Merge remote-tracking branch 'origin/GP-3076-dragonmacher-listing-painting-issue' 2023-02-13 15:23:50 -05:00
Ryan Kurtz
ff93d4cfb1 Merge remote-tracking branch 'origin/GP-3000-dragonmacher-theme-fixes--SQUASHED' 2023-02-13 15:17:20 -05:00
Ryan Kurtz
1ad64f75aa Merge remote-tracking branch 'origin/GP-3080_ghidra1_DefaultToolOpen--SQUASHED' 2023-02-13 15:05:23 -05:00
Ryan Kurtz
5d861c3ec8 Merge remote-tracking branch 'origin/GP-3064_ghidragon_goto_after_first_analysis--SQUASHED' 2023-02-13 14:54:54 -05:00
Ryan Kurtz
43bbf5ea9f Merge remote-tracking branch 'origin/GP-3085_NativeCompatibility' 2023-02-13 14:53:34 -05:00
Ryan Kurtz
d9a6d501ec Merge remote-tracking branch 'origin/patch' 2023-02-13 06:50:48 -05:00
caheckman
51b1b51d89 GP-1123 Check for name collision when creating placeholder structure 2023-02-10 12:31:23 -05:00
ghidragon
ecb045781c GP-3064 added feature and options to navigate programs after the initial analysis is complete 2023-02-10 11:11:27 -05:00
ghidra1
a5f2c9d55b GP-3080 revised default tool launch to allow for optional running tool re-use 2023-02-09 18:33:57 -05:00
ghidra1
0380709881 GP-0 corrected DBContentHandler exception encapsulation 2023-02-09 17:33:20 -05:00
ghidra1
ebf47437b4 GP-1868 corrected ProgramtextWriter operand formatting 2023-02-09 16:41:29 -05:00
dragonmacher
1fa08a6002 GP-3000 - Theme Cleanup 2023-02-09 15:22:54 -05:00
ghidra1
655c355783 Corrected potential NPE condition during ELF GOT processing due to
unsupported relocation
2023-02-09 14:47:39 -05:00
Ryan Kurtz
8da5b1593c GP-2936: Fixed an issue that prevented the default script log file from
getting used in the user's.ghidra directory
2023-02-08 10:51:42 -05:00
Ryan Kurtz
1de4b32e51 Merge remote-tracking branch 'origin/patch' 2023-02-08 06:10:33 -05:00
dragonmacher
82c4b06871 GP-3076 - Fixed Listing header repaint issue on Flat LaFs 2023-02-07 18:26:00 -05:00
caheckman
f9bc45cdf0 GP-3088 Marshal pointer wordsize as unsigned 2023-02-07 18:14:50 -05:00
caheckman
4f728c082f GP-3085 Adjustments for older build environments 2023-02-07 16:36:37 -05:00
dragonmacher
55dde0de4a Test fixes 2023-02-07 12:00:02 -05:00
Ryan Kurtz
5b543c1847 Merge branch 'GP-0_ryanmkurtz_PR-4964_ekilmer_typos' 2023-02-07 07:47:34 -05:00
Ryan Kurtz
ea0f6e69f5 GP-0: More spelling fixes 2023-02-07 07:37:24 -05:00
ghidra1
44d7c4f031 Merge branch 'GP-3034_ghidra1_GZFImportExportImprovements--SQUASHED'
(help mods)
2023-02-06 14:21:26 -05:00
Ryan Kurtz
3d800f9e7c Merge remote-tracking branch
'origin/GP-3034_ghidra1_GZFImportExportImprovements--SQUASHED
2023-02-06 13:40:41 -05:00
ghidra1
769ef9ec0a GP-3034 GZF/GDT Import/Export improvements 2023-02-06 13:27:07 -05:00
dragonmacher
f3d64fcc3a Test fixes 2023-02-06 13:23:15 -05:00
ghidra1
af989e0ff6 GP-3034 GZF/GDT Import/Export improvements 2023-02-06 09:48:54 -05:00
Ryan Kurtz
ba70679ee8 Merge remote-tracking branch 'origin/GP-2544_ProtoModelGroupList'
(Closes #4568)
2023-02-06 09:42:03 -05:00
Ryan Kurtz
c87707cc4e Merge remote-tracking branch 'origin/patch' 2023-02-06 09:37:09 -05:00
Ryan Kurtz
65f20da73c Merge remote-tracking branch 'origin/GP-3065_ParsingExtrapop' into patch 2023-02-06 09:31:33 -05:00
ghidra1
8f5ebf122e Merge remote-tracking branch 'origin/patch' 2023-02-03 18:16:17 -05:00
ghidra1
fb42de7176 Merge remote-tracking branch 'origin/GP-3066_emteere_BadAddrTreatedAsConstantFix--SQUASHED' into patch 2023-02-03 18:14:35 -05:00
emteere
9db92abbbc GP-3066 Fix bad constant on subtraction of two unknown values 2023-02-03 18:13:58 -05:00
ghidra1
7143f64c51 Merge remote-tracking branch
'origin/GP-2986-dragonmacher-component-provider-methods--SQUASHED'
2023-02-03 17:55:23 -05:00
ghidra1
2103924d71 Merge remote-tracking branch 'origin/GP-2939_ghidragon_remember_a_program's_last_open_location--SQUASHED' 2023-02-03 17:13:09 -05:00
ghidra1
843d780eb5 Merge remote-tracking branch 'origin/patch' 2023-02-03 15:59:33 -05:00
ghidra1
9018b66cd8 Merge remote-tracking branch 'origin/GP-3075_SegmentedSwitches' into patch 2023-02-03 15:44:42 -05:00
ghidra1
2611ca3de1 Merge remote-tracking branch
'origin/GP-3050-2935-ghidra1_ServerAddressAndConnectTimeout--SQUASHED'
(Closes #4924, Closes #4928)
2023-02-03 14:27:53 -05:00
ghidra1
67677174c4 GP-3050-2935 Eliminate client-side canonical hostname lookups. Add subject alternative name to self-signed server certs. Improved initial server connect check to use faster timeout. 2023-02-03 14:21:49 -05:00
ghidragon
3f260a1577 GP-2939 Added option for programs to open back to their last location from when they were last closed. 2023-02-03 14:18:56 -05:00
Ryan Kurtz
6cb50228cd Merge branch 'GP-0_ryanmkurtz_PR-4953_mborgerson_fix_typo' 2023-02-03 12:58:56 -05:00
Ryan Kurtz
dece214787 GP-0: Certify 2023-02-03 12:52:14 -05:00
Ryan Kurtz
e8dbdf918e Merge branch 'GP-0_ryanmkurtz_PR-4934_jobermayr_warnings' 2023-02-03 12:44:51 -05:00
Ryan Kurtz
e83edca1ca Merge remote-tracking branch 'origin/GP-3013_ghidra1_RelocationLengthAndStatus_SQUASHED' 2023-02-03 11:58:10 -05:00
ghidra1
394c544544 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Framework/Generic/src/main/java/ghidra/framework/options/SaveState.java
2023-02-03 08:37:23 -05:00
ghidra1
5b433f35ca GP-3013 Refactor of Relocation API (created V6 DB adapter) to include
status and stored length when original FileBytes are used.
2023-02-03 08:01:04 -05:00
Matt Borgerson
fbde367fe1 Fix typo: unitialized -> uninitialized 2023-02-03 01:41:14 -07:00
caheckman
38535dcb86 GP-2544 Allow a joined pentry to overlap non-contiguous groups 2023-02-02 19:25:40 -05:00
dragonmacher
c252e3b905 GP-2986 - ComponentProvder and dialog cleanup on dispose 2023-02-02 17:51:15 -05:00
ghidra1
f4d9240453 GP-0 minor cleanup. Changed SaveState to maintain ordered map for
consistent serialization (needed for tests).
2023-02-02 13:31:11 -05:00
caheckman
7149c92e4b GP-3075 Don't filter segment op from switch analysis 2023-02-02 12:05:24 -05:00
Ryan Kurtz
a02337866c Merge remote-tracking branch 'origin/GP-2723_Dan_blendStaticListing--SQUASHED' 2023-02-02 11:04:54 -05:00
Ryan Kurtz
295eb29195 Merge remote-tracking branch 'origin/GP-1-dragonmacher-html-bug-fix' 2023-02-02 11:00:14 -05:00
dragonmacher
9db6c7c886 Fixed incorrect html rendering 2023-02-01 17:18:36 -05:00
Ryan Kurtz
24e128b277 Merge remote-tracking branch 'origin/GP-2750_Dan_showPCTrackFailure--SQUASHED' 2023-02-01 16:03:14 -05:00
Ryan Kurtz
5d8fb598cd Merge remote-tracking branch 'origin/patch' 2023-02-01 16:02:06 -05:00
Dan
5eb1c90c3d GP-2723: Blend overlapping markers 2023-02-01 15:58:24 -05:00
Ryan Kurtz
8dddefcdcd GP-2210: More MzLoader fixes 2023-02-01 15:46:03 -05:00
Dan
d2fa8921a9 GP-2750: Add tracking address label with goto failure indication 2023-02-01 13:26:27 -05:00
Ryan Kurtz
c8311f15ff Merge remote-tracking branch 'origin/patch' 2023-02-01 07:55:21 -05:00
Ryan Kurtz
0ebd0adef2 Merge remote-tracking branch 'origin/GP-1453_ghidra1_XmlExportCustomProperties' into patch 2023-02-01 07:43:14 -05:00
ghidra1
0ac639f504 GP-1453 corrected XML export of custom properties such as Analysis Times 2023-01-31 22:05:13 +00:00
Ryan Kurtz
6eb78e7ef2 Merge remote-tracking branch 'origin/GP-0-dragonmacher-1-31-23' 2023-01-31 15:45:54 -05:00
dragonmacher
c80297eaac Test fixes 2023-01-31 14:35:16 -05:00
ghidragon
6563cebcf5 GP-2141 adding feature for better starting location when opening a
program.
2023-01-31 11:42:55 -05:00
Ryan Kurtz
01473cf813 Merge remote-tracking branch 'origin/GP-2793_PtrMetatypeProto' 2023-01-31 08:28:35 -05:00
Ryan Kurtz
a7eea63ff1 Merge remote-tracking branch 'origin/GP-2978_Dan_renameStateEditingService--SQUASHED' 2023-01-31 08:00:12 -05:00
dragonmacher
f58a9035f7 GP-3069 - Refactored the 'Create Structure from Selection' action to
work around a focus issue seen by some users
2023-01-30 17:39:56 -05:00
Dan
f1c060d378 GP-2978: Rename StateEditing to Control. Disable selection of control modes by context. 2023-01-30 14:06:44 -05:00
Johannes Obermayr
2a9986135e Fix some Javadocs warnings
> Task :createJavadocs
/tmp/ghidra/Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/IndexedV1LocalFileSystem.java:40: warning: @param argument "file" is not a parameter name.
         * @param file path path for root directory.
           ^
/tmp/ghidra/Ghidra/Features/Base/src/main/java/ghidra/program/database/ProgramBuilder.java:147: warning: @param argument "compilerSpecID" is not a parameter name.
         * @param compilerSpecID compiler specification ID (if null default spec will be used)
           ^
/tmp/ghidra/Ghidra/Features/Base/src/main/java/ghidra/program/database/ProgramBuilder.java:148: warning: @param argument "consumer" is not a parameter name.
         * @param consumer program consumer (if null this builder will be used as consumer and must be disposed to release program)
           ^
2023-01-28 10:08:55 +01:00
caheckman
94aca176ef GP-3065 Special parsing for mixed format attribute 2023-01-27 19:51:46 -05:00
dragonmacher
d8b1032f35 Test debug 2023-01-27 18:14:45 -05:00
Ryan Kurtz
c78a9c35e1 Merge remote-tracking branch 'origin/GP-2844-dragonmacher-error-dialog-html--SQUASHED' 2023-01-27 15:09:19 -05:00
dragonmacher
a0dbf5e19d GP-2844 - Implemented a custom html rendering kit for GHtmlLabels 2023-01-27 11:18:57 -05:00
Dan
bc43f20c3c GP-3015: Add scanSymbolsByName, javadocs, checks, refactor assembler 2023-01-25 11:42:02 -05:00
Ryan Kurtz
eaf9c84963 Merge remote-tracking branch 'origin/GP-2177_d-millar_bpt_errors_SQRB--SQUASHED' 2023-01-24 12:13:18 -05:00
d-millar
dee3de5672 GP-2177: schema fix for missing registers
GP-2177(SQRB): fire threadCreated
GP-2177_SQRB: spare the VM on E_NOINTERFACE
GP-2177_SQRB: check id plus pid/tid
GP-2177_SQRB: init for dbgmodel RegisterBanks plus bandaid for recorder
GP-2177_SQRB: filter nulls from traceToTarget
GP-2177: extraneous cleanup
GP-2177: clear bpts on process death
GP-2968: fixes from review
GP-2177: not directly related, but...
GP-2177: CACHE needs to be cleared and must follow actual native delete
GP-2177: first pass at bpt errors
2023-01-23 15:46:11 -05:00
Ryan Kurtz
e5a8f26347 Merge remote-tracking branch 'origin/GP-2730_ghidra1_ElfReadOnlyMemory--SQUASHED' 2023-01-23 13:16:51 -05:00
ghidra1
df184ab91c GP-2730 corrected ELF read-only memory update issue 2023-01-23 11:48:52 -05:00
Johannes Obermayr
c839c0f9a3 Fix build error after 8b442ea
> Task :Decompiler:compileSleighLinux_x86_64ExecutableSleighCpp
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc: In member function ???double FloatFormat::getHostFloat(uintb, floatclass*) const???:
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:30: error: ???numeric_limits??? is not a member of ???std???
  245 |       double infinity = std::numeric_limits<double>::infinity();
      |                              ^~~~~~~~~~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:45: error: expected primary-expression before ???double???
  245 |       double infinity = std::numeric_limits<double>::infinity();
      |                                             ^~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:23: error: ???numeric_limits??? is not a member of ???std???
  250 |     double nan = std::numeric_limits<double>::quiet_NaN();
      |                       ^~~~~~~~~~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:38: error: expected primary-expression before ???double???
  250 |     double nan = std::numeric_limits<double>::quiet_NaN();
      |                                      ^~~~~~

> Task :Decompiler:compileDecompileLinux_x86_64ExecutableDecompileCpp
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc: In member function ???double FloatFormat::getHostFloat(uintb, floatclass*) const???:
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:30: error: ???numeric_limits??? is not a member of ???std???
  245 |       double infinity = std::numeric_limits<double>::infinity();
      |                              ^~~~~~~~~~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:45: error: expected primary-expression before ???double???
  245 |       double infinity = std::numeric_limits<double>::infinity();
      |                                             ^~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:23: error: ???numeric_limits??? is not a member of ???std???
  250 |     double nan = std::numeric_limits<double>::quiet_NaN();
      |                       ^~~~~~~~~~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:38: error: expected primary-expression before ???double???
  250 |     double nan = std::numeric_limits<double>::quiet_NaN();
      |                                      ^~~~~~
2023-01-21 23:16:56 +01:00
caheckman
52d97329b9 GP-2793 Better support for metatype="ptr" pentry tags 2023-01-20 17:37:21 -05:00
Ryan Kurtz
23c1fbe2d5 Merge remote-tracking branch 'origin/patch' 2023-01-20 14:18:50 -05:00
Ryan Kurtz
93ecce2ca2 Merge branch 'GP-2210_ryanmkurtz_PR-1892_lkempf_mz' into patch
(Closes #254, Closes #1876, Closes #1892, Closes #4318)
2023-01-20 14:15:43 -05:00
Ryan Kurtz
ffe65f6ac3 GP-2210: More MzLoader fixes/improvements 2023-01-20 14:08:05 -05:00
Ryan Kurtz
c2522c81c6 Merge remote-tracking branch 'origin/GP-2985_UsingNamespace'
(Closes #4703)
2023-01-20 13:02:40 -05:00
Ryan Kurtz
16f89a120a Merge remote-tracking branch 'origin/GP-2111_dev747368_elf_note_info_buildid_etc_rebased' 2023-01-20 12:57:00 -05:00
Ryan Kurtz
1b9f90e827 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Framework/SoftwareModeling/src/test/java/ghidra/app/plugin/processors/sleigh/SleighLanguageVolatilityTest.java
2023-01-20 12:31:22 -05:00
Ryan Kurtz
dd206b9265 Merge remote-tracking branch 'origin/GP-2934_ghidragon_improve_theme_dialog--SQUASHED' 2023-01-20 06:40:19 -05:00
Ryan Kurtz
6611f16a57 Merge remote-tracking branch 'origin/GP-2187_ghidragon_symbol_tree_collapse_bug' 2023-01-20 06:38:55 -05:00
Ryan Kurtz
a5e276e73f Merge remote-tracking branch 'origin/GP-543_ghidragon_fixed_edit_label_width_issue--SQUASHED' 2023-01-20 06:37:22 -05:00
Ryan Kurtz
43a82b4aa2 GP-2606: Fixing test compilation error. Formatting code. 2023-01-20 06:30:50 -05:00
ghidragon
d8fe3f737e GP-543 fixed issue with growing add/edit label dialog when changing large labels 2023-01-19 17:41:25 -05:00
ghidragon
0bf0911e11 GP-2934 cleaning up user interface for Theming 2023-01-19 17:24:05 -05:00
ghidragon
fd0f03d007 GP-2187 fixed symbol tree not able to close category node with filter on 2023-01-19 12:36:04 -05:00
ghidra1
c2440f9062 Merge remote-tracking branch 'origin/GP-2984_ghidra1_x86_GOTPCREL--SQUASHED' 2023-01-19 09:13:45 -05:00
ghidra1
6e1ad5578f GP-2984 modified ELF relocation processing to use single ElfRelocationContext instance. Modified X86-64 relocation processing to handle GOTPCREL for object modules. 2023-01-19 09:12:36 -05:00
ghidra1
07a35dd91a Merge remote-tracking branch 'origin/patch' 2023-01-19 08:41:23 -05:00
Ryan Kurtz
e12837fe7b Merge remote-tracking branch
'origin/GP-3020-dragonmacher-fill-in-structure-size-limit' into patch
(Closes #4879)
2023-01-19 06:34:05 -05:00
Ryan Kurtz
c0397036e4 Merge remote-tracking branch 'origin/GP-2606_ghidragander_volatile_symbol_pspec--SQUASHED' into patch 2023-01-19 06:18:16 -05:00
caheckman
8b442eac0b GP-2985 Remove "using namespace" directives 2023-01-18 15:35:17 -05:00
ghidraGander
dce57a7bf7 GP-2606
Fixed typo in AddressLabelInfo.
Improved implementation and error handling of AddressLabelInfo.
GP-2606
Refactored the package of 'AddressLabelInfo' to beghidra.program.model.lang. Removed the source and namespace variablesfrom AddressLabelInfo since they would always be global and IMPORTED.Removed a number of constructors to simplify AddressLabelInfo. Improvederror handing in SleighLanguage class.
GP-2606
Added javadocs to and throw exceptions from AddressLabelInfo constructors and removed extra constructors that were no longer needed. Added exception handling to AbsractProgramLoader and SleighLanguage for thrown exceptions. Made some variables in SleighLanguage private and removed an unnecessary null check.
GP-2606
Prepared test to help investigate volatility interplay settings.
GP-2606
Updated per review comments. SleighLanguage will parse pspec files andthen apply symbol element settings for volatility afterward. Simplifiedtests for SleighLanguage and the Decompiler.
GP-2606
Made updates based on review feedback. Address label info holds the endaddress of the label. Sleigh language will resolve symbol mutabilityafter parsing the pspec file such that the order of elements in the filewill not be a factor. Rearranged tests in preparation for improvement.Added a constructor to the ProgramBuilder class so that custom definedpspec files may be used in the tests.
GP-2606
Updated SpecXmlUtils decodeBoolean method to call decodeNullableBooleanfirst, however if the result is null, to return false instead of null.
GP-2606
Changed size of addressLabelInfo to sizeInBytes and added comment toisVolatile that specifies what null, false, or true mean in context.Incorporated improvements per review comments to SleighLanguage.
GP-2606
Added tests for the sleigh language volatility changes and thedecompiler itself.
GP-2606:
Updated SleighLanguage to alter 'volatileAddresses' based on the symbolelements and their attributes in pspec files. Added size and volatilevariables to AddressLabelInfo class. Added Boolean parser method to theSpecXmlUtils.java file.
GP-2606: Added optional volatile boolean and optional size integer attributes to the symbol element of processor specification (pspec) files.
2023-01-18 14:04:50 -05:00
dragonmacher
fc6fb6e4ae GP-3020 - Updated the Fill in Structure action to take into account the
structure size
2023-01-17 14:24:04 -05:00
Lukas Kempf
8797fcfbea 1876 Improved support for MZ executables
- Fixed incorrect header
- Gracefully handle segment overflows
- Added missing segment relocations
- Create uninitiallized memory according to header
2023-01-17 07:13:49 -05:00
Ryan Kurtz
19476aa98c Merge remote-tracking branch 'origin/GP-2995_ghidragon_better_grouping_for_laf_colors_and_font--SQUASHED' 2023-01-17 06:15:05 -05:00
Ryan Kurtz
cb30d5e844 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/SaveProgramAction.java
2023-01-17 06:08:18 -05:00
Ryan Kurtz
991f84686c Merge remote-tracking branch 'origin/GP-2999_dev747368_fix_ampersand_in_convert_menu--SQUASHED' into patch 2023-01-17 05:50:05 -05:00
ghidragon
e5f1563c08 GP-2995 creating a better mapping of look and feel values to more standard ids and easier ways to override values for a specific LaF 2023-01-13 17:58:27 -05:00
dev747368
b06e982049 GP-2999 fix display of '&' in convert popup menu and other menu items 2023-01-13 15:17:03 -05:00
Ryan Kurtz
f930701ed6 Merge remote-tracking branch 'origin/GP-2841-dragonmacher-program-name-tooltips--SQUASHED' 2023-01-13 13:10:11 -05:00
Ryan Kurtz
3433f49cdc Merge remote-tracking branch
'origin/GP-2983_caheckman_PR-3998_ekilmer_fix-decompiler-test-cli-parsing'
(Closes #3998)
2023-01-13 13:07:41 -05:00
Ryan Kurtz
539d5b2aad Merge remote-tracking branch 'origin/patch' 2023-01-13 12:32:34 -05:00
caheckman
583847b761 Don't filter JumpAssist from switch analysis 2023-01-13 11:21:10 -05:00
caheckman
4b2a78b1fb GP-3014 - Add deduping to DynamicHash gatherFirstLevelVars 2023-01-13 11:19:00 -05:00
dragonmacher
6a740169c4 GO-2841 - Updated handling of long program paths in Listing tabs 2023-01-13 10:23:40 -05:00
Ryan Kurtz
bf5dfa6170 Merge remote-tracking branch 'origin/GP-2834_Dan_hoverVarVals--SQUASHED'
(#4732)
2023-01-12 18:57:13 -05:00
Dan
df9a1e2756 GP-2834: Add Unwind Stack action, hovers for dynamic variable values. 2023-01-12 13:38:17 -05:00
Ryan Kurtz
dc10c83e78 GP-3008: Fixing search limit option message and help 2023-01-12 09:01:26 -05:00
Ryan Kurtz
898f12cc12 Merge remote-tracking branch
'origin/GP-3003_ghidra1_PR-4841_Zarklord_DataTypeParser' (Closes #4841)
2023-01-11 11:27:52 -05:00