Commit Graph

4925 Commits

Author SHA1 Message Date
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
Ryan Kurtz
2e82cedec3 Merge remote-tracking branch
'origin/GP-3002_ryanmkurtz_null-comment--SQUASHED' (Closes #4836)
2023-01-11 11:24:54 -05:00
Ryan Kurtz
7b690b4257 Merge remote-tracking branch
'origin/GP-3001-dragonmacher-decomp-convert-actions--SQUASHED'
(Closes #3689)
2023-01-11 11:21:51 -05:00
ghidra1
4500dd94a7 GP-3003 add tests for DataTypeParser 2023-01-11 11:14:46 -05:00
Ryan Kurtz
575e64b45a GP-3002: Handling comments with null characters 2023-01-11 11:13:38 -05:00
dragonmacher
761346d888 GP-3001 - Decompiler - Added Double and Float convert actions 2023-01-11 10:11:53 -05:00
Ryan Kurtz
458644e808 Merge remote-tracking branch
'origin/GP-2996-dragonmacher-table-chooser-html' (Closes #4880)
2023-01-11 06:36:49 -05:00
Ryan Kurtz
559ea64048 Merge remote-tracking branch 'origin/GP-2931_dev747368_nuke_unsigneddatautils' 2023-01-11 06:34:47 -05:00
ghidra1
ce32122e3f GP-1 corrected ProgramInfo for linked file case 2023-01-10 13:23:19 -05:00
Ryan Kurtz
1a36ad806e Merge branch 'GP-2997_ryanmkurtz_PR-4857_Gravelbones_omf_alias'
(Closes #4856, Closes #4857)
2023-01-10 09:58:02 -05:00
Ryan Kurtz
5105aa8157 GP-2997: OmfLoader refactor, cleanup, code formatting 2023-01-10 09:50:33 -05:00
Ryan Kurtz
7cda66a013 Merge remote-tracking branch 'origin/GP-2992-dragonmacher-table-header-clipping--SQUASHED' 2023-01-10 05:36:10 -05:00
dragonmacher
7604411c0d GP-2996 - Updated the TableChooserDialog API to allow users to use html
rendering.
2023-01-09 17:57:49 -05:00
dragonmacher
b7bbef7beb GP-2992 - Tweaked Memory Map table to avoid clipping on columns with hard-coded sizes; updated the generic header clipping check; added tooltips for clipped headers 2023-01-09 16:48:04 -05:00
Gravelbones
e61f50f9e8 OMF format: Added handling of many record types (Closes #4856) 2023-01-09 22:14:39 +01:00
Ryan Kurtz
43f6c881b1 Merge branch 'GP-2993_ryanmkurtz_PR-4666_fenugrec_vxworks_5.0'
(Closes #4507, Closes #4666)
2023-01-09 10:58:11 -05:00
Ryan Kurtz
4ff113f92c Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh
2023-01-09 10:33:18 -05:00
ghidra1
0f3bb2acee GP-0 corrected various test failures 2023-01-06 17:32:29 -05:00
Ryan Kurtz
1b034882d2 Merge remote-tracking branch 'origin/GP-2668-dragonmacher-show-symbol-references-action' 2023-01-06 11:44:16 -05:00
Ryan Kurtz
2ee1d80215 Merge remote-tracking branch 'origin/GP-2956_SubpieceZext' 2023-01-06 08:18:24 -05:00
Ryan Kurtz
1656ecf471 Merge remote-tracking branch 'origin/GP-2785_TokenFieldBounds' 2023-01-06 08:13:34 -05:00
Ryan Kurtz
1e8c575671 Merge remote-tracking branch 'origin/GP-2866_SwitchAnalysisFilter' into patch 2023-01-06 08:05:11 -05:00
Ryan Kurtz
5c4d7a22c8 Merge remote-tracking branch 'origin/GP-2980_UnrolledSwitchGuard' 2023-01-05 13:11:52 -05:00
caheckman
735c6d3a8b Removed unused include directive 2023-01-05 12:25:04 -05:00
Eric Kilmer
cd09ea0c4a Fixes CLI argument parsing
Accept more than one option for specifying test paths.

Support non-zero exit code when tests fail

Return a non-zero exit code (saturated to max value 255, even if more
than 255 tests fail) indicating number of failed tests. This is helpful
when running in a script (like in CI) to detect failures instead of
detecting failures through manual visual inspection of output text.
2023-01-05 12:22:13 -05:00
Ryan Kurtz
bf6a1a9702 Merge remote-tracking branch 'origin/GP-199_ghidra1_ApplyFunctionDefsFromCategory--SQUASHED' 2023-01-05 11:28:20 -05:00
ghidra1
3fc5e55d7a GP-199 allow function definitions to be applied from selected category 2023-01-05 10:58:00 -05:00
Ryan Kurtz
5c397d53bb Merge remote-tracking branch
'origin/GP-2945-dragonmacher-structure-editor-selection--SQUASHED'
(Closes #4820)
2023-01-05 09:19:04 -05:00
Ryan Kurtz
5876b0878a Merge remote-tracking branch 'origin/GP-2423-dragonmacher-dt-tree-selection-fix' 2023-01-05 09:14:39 -05:00
caheckman
6f49dc939e GP-2980 Analysis for unrolled switch guards 2023-01-04 18:15:10 -05:00
dragonmacher
2d2b2b8771 GP-2945 - Updated the structure editor to maintain selection during external updates 2023-01-04 17:08:29 -05:00
Ryan Kurtz
a8cdc43bd4 Merge remote-tracking branch 'origin/GP-2962-dragonmacher-theme-fixes-3' 2023-01-04 05:46:48 -05:00
dragonmacher
b73c9972ef GP-2668 - Small tweaks to xrefs table 2023-01-03 18:56:40 -05:00
dragonmacher
4e270aba4b GP-2945 - Fixed Data Types tree selection not getting restored when
opening an archive for edit
2023-01-03 15:35:18 -05:00
Ryan Kurtz
e100c84085 Merge remote-tracking branch 'origin/GP-2795-dragonmacher-button-disabled-icons' 2023-01-03 11:05:22 -05:00
dragonmacher
895be954b1 GP-2961 - Theme Fixes - Fixed analysis dialog; bitfield editor; VT dual
diff highlighting; references window
2022-12-30 16:11:48 -05:00
Ryan Kurtz
fcd613b8be GP-0: Tweaking javadoc (Closes #1969) 2022-12-30 12:22:46 -05:00
Ryan Kurtz
21d8d18134 GP-1035: Python interpreter code completion now works prior to executing
any python statements
2022-12-30 05:49:27 -05:00
dragonmacher
2a954aeec8 GP-2795 - Theme Fixes - Updated buttons using icons to ensure the
disabled icon gets installed correctly
2022-12-29 17:32:54 -05:00
ghidragon
432e5252d6 Merge remote-tracking branch 'origin/GP-2962-dragonmacher-theme-fixes-2--SQUASHED' 2022-12-29 15:12:51 -05:00
dragonmacher
fc301bb386 GP-2961 - Theme Fixes - Many changes to deal with odd rendering behavior in Nimbus and the Flat LaFs. 2022-12-29 14:51:25 -05:00
Ryan Kurtz
6da32a0d21 Merge branch 'GP-2976_ryanmkurtz_PR-4854_Gravelbones_lpubdef'
(Closes #4854)
2022-12-29 10:23:07 -05:00
Ryan Kurtz
842890f925 GP-714: Adding PeLoader option to show/hide debug line numbers 2022-12-29 08:01:10 -05:00
Ryan Kurtz
55124ff249 Merge remote-tracking branch 'origin/patch' 2022-12-28 09:02:06 -05:00
Ryan Kurtz
70a155cb70 GP-0: Using TaskMonitor.DUMMY instead of deprecated
TaskMonitorAdapter.DUMMY_MONITOR
2022-12-28 08:06:16 -05:00
ghidragon
f443b2a907 Merge remote-tracking branch 'origin/GP-2962-dragonmacher-theme-fixes--SQUASHED' 2022-12-27 15:46:19 -05:00
dragonmacher
309ba36302 GP-2962 - Theme Fixes - fixed widget bg colors to be universal; fixed tooltips to be universal; fixed odd table behavior related to old lingering values 2022-12-27 15:27:21 -05:00
Ryan Kurtz
7dac4c7901 GP-2973: Improved PE header parsing so binaries with corrupt
symbol/string tables do not prevent Ghidra from recognizing them as PE
(#1844)
2022-12-27 10:30:26 -05:00
Gravelbones
9f2732b289 Add symbols from LPUBDEF to symbol list 2022-12-27 15:23:24 +01:00
Ryan Kurtz
f26bf98d21 Merge remote-tracking branch 'origin/GP-2560_SwitchRedundant'
(Closes #4558)
2022-12-23 10:54:29 -05:00
Ryan Kurtz
a1bd693ad6 Merge branch 'GP-2972_ryanmkurtz_PR-1844_Learath2_pr_pefile'
(Closes #1844)

Conflicts:
	Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pe/NTHeader.java
2022-12-23 09:53:17 -05:00
caheckman
04431f0ad2 Precision check in RuleSubZext 2022-12-22 19:00:12 -05:00
caheckman
2345c1289b GP-2956 Adjustment to RuleSubExtComm 2022-12-22 16:39:26 -05:00
ghidra1
552eb9dd61 GP-232 correct use of EXTERNAL block string 2022-12-22 14:38:02 -05:00
dragonmacher
3bb026acc2 GP-2887 - Updated the Equates Table to allow multiple selection; Updated
the default style sheet to define a class for images
2022-12-22 11:15:49 -05:00
Ryan Kurtz
d3fdc6d66d Merge remote-tracking branch 'origin/patch' 2022-12-22 10:59:37 -05:00
Ryan Kurtz
c077c60942 Merge remote-tracking branch 'origin/GP-2967_ghidra1_StructureEditorCloseError' into patch 2022-12-22 10:36:37 -05:00
caheckman
11abb716c4 GP-2560 Don't reprocess Funcdata for multiple jumptables 2022-12-21 15:32:10 -05:00
Zachary Lockwood
6d9ae9cd52 Allow namespace in DATATYPEs 2022-12-21 14:22:44 -05:00
ghidra1
81bbcdceff GP-2967 corrected structure editor close during cell edit 2022-12-21 13:24:24 -05:00
Ryan Kurtz
16f41137a6 Merge remote-tracking branch 'origin/patch' 2022-12-21 07:14:39 -05:00
Ryan Kurtz
de74cca9d0 GP-2947: Fixing tests 2022-12-21 07:09:50 -05:00
Ryan Kurtz
25a70bb719 Merge remote-tracking branch 'origin/GP-51_ryanmkurtz_coff-check' 2022-12-20 13:26:20 -05:00
Ryan Kurtz
19a63531c3 Merge remote-tracking branch 'origin/GP-2767_BreakoutStructureCONCAT' 2022-12-20 13:23:16 -05:00
Ryan Kurtz
f5981c021f Merge remote-tracking branch 'origin/GP-2961_RestartCalculatedFlags'
(Closes #4620)
2022-12-20 13:20:38 -05:00
Ryan Kurtz
a2660f5d0d GP-51: Review fixes 2022-12-20 07:20:22 -05:00
Ryan Kurtz
c5e93d29cb Merge remote-tracking branch 'origin/patch' 2022-12-20 06:58:38 -05:00
ghidragon
ca184bd30c GP-0 fixed test related to GP-2950, GhidraComboBox changes 2022-12-19 18:21:33 -05:00
dev747368
47e389ac11 GP-2111 organize ELF note, build-id handling, add Golang build-id 2022-12-19 21:31:45 +00:00
caheckman
0ee824f017 GP-2961 Clear calculated flags on restart 2022-12-19 16:13:59 -05:00
Ryan Kurtz
f65b3c4a05 Merge remote-tracking branch 'origin/GP-2950_ghidragon_GhidraComboBox_issues--SQUASHED' 2022-12-19 14:40:17 -05:00
ghidragon
31696c40f9 GP-2950 fixing up GhidraComboBox and its clients to handle theme changes 2022-12-19 12:41:57 -05:00
Ryan Kurtz
01dfe6cab5 Merge remote-tracking branch
'origin/GP-1307_ghidra1_DTResolveWithSource--SQUASHED' (Closes #4634)
2022-12-18 05:58:01 -05:00
ghidra1
a0a4ea67f8 GP-1307 data type resolution conflict handling improvements 2022-12-16 18:42:46 -05:00
caheckman
535ac7c08d GP-2767 Structured pieces 2022-12-16 18:05:20 -05:00
Ryan Kurtz
d7f7bf9a66 Merge remote-tracking branch
'origin/GP-2901-dragonmacher-theme-property-update'

Conflicts:
	Ghidra/Framework/Docking/data/docking.theme.properties
2022-12-16 14:15:15 -05:00
dev747368
79875e0014 GP-2931 remove UnsignedDataUtils 2022-12-16 16:59:47 +00:00
Ryan Kurtz
6a0037b69b GP-51: Improving COFF header checks 2022-12-16 11:09:46 -05:00
Ryan Kurtz
c360f197fd GP-2947: Fixed an issue that prevented PE ordinal symbols from getting
their true name resolved during headless mode import
2022-12-15 07:57:15 -05:00
Ryan Kurtz
b707c2ea6b Merge remote-tracking branch 'origin/GP-2903_ghidra1_ImmutableDomainObjects--SQUASHED' 2022-12-15 06:01:56 -05:00
Ryan Kurtz
4e1fcb6a30 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/PeLoader.java
2022-12-15 05:40:55 -05:00
dragonmacher
63d6063fa0 GP-2910 - Fixed missing theme definitions; removed unused theme
definitions; fixed module theme dependencies
2022-12-14 17:53:29 -05:00
ghidra1
7c0dcaec3d GP-2903 corrected use of getImmutableObject for link-handler, Diff and OpenVersionedFileDialog. Improved handling of required upgrade. 2022-12-14 14:13:35 -05:00
Ryan Kurtz
dba70df2af GP-2948: PeLoader uninitialized padding block start addresses no longer
overwrite true section start address (Closes #4815)
2022-12-14 13:43:40 -05:00
dragonmacher
27016ed926 test fixes 2022-12-13 16:46:52 -05:00
Ryan Kurtz
5e2bbde8dd Merge remote-tracking branch 'origin/GP-2795-dragonmacher-theme-cleanup-buttons--SQUASHED' 2022-12-13 06:30:39 -05:00
Ryan Kurtz
f099593413 Merge remote-tracking branch 'origin/GP-2860-dragonmacher-theme-header-colors--SQUASHED' 2022-12-13 05:42:19 -05:00
dragonmacher
8379285044 GP-2795 - Refactor of ButtonPanelFactory 2022-12-12 18:54:57 -05:00
dragonmacher
956e7ac6ff GP-2860 - Theming - Updated header colors to match the current LaF 2022-12-12 18:53:24 -05:00
ghidra1
12cb9010c5 GP-1 Hard-wired DefaultLanguageService into SleighLanguageProvider and
eliminated single-ldef usage.
2022-12-12 18:05:46 -05:00
ghidragon
1a99e2518d GP-2933 adding more error checking for theme.properties files 2022-12-12 14:40:19 -05:00
ghidragon
bef76786bc GP-2894 missed one help fixup 2022-12-12 14:34:36 -05:00
dragonmacher
e3aad672ce GP-2894 - Icon Cleanup - Moved icons from Generic into Gui; Deleted
shared icons not in the Help module
2022-12-12 13:39:30 -05:00
fenugrec
c2d2913263 VxWorksSymTab_Finder : add vxworks 5.0 format
struct SYMBOL is slightly shorter.
Source : disassembly of a vx 5.0.2-based ROM (TDS 744A firmware v1.1e)
2022-12-11 12:35:09 -05:00
ghidra1
f964b89004 GP-0 correct ProgramBuilder language discovery 2022-12-10 14:36:32 -05:00
Ryan Kurtz
5b5b2f3eec Merge remote-tracking branch 'origin/GP-2925_James_programbuilder_all_langs--SQUASHED' 2022-12-10 02:57:05 -05:00
dragonmacher
2ef310b25f theme bug fixes 2022-12-09 12:21:44 -05:00
James
788b764ada GP-2925 allow ProgramBuilder to use all languages 2022-12-09 10:26:03 -05:00
Ryan Kurtz
a3a24bf610 Merge remote-tracking branch 'origin/GP-2921_bad_analysis_options_colors--SQUASHED' 2022-12-09 02:40:09 -05:00
ghidragon
a6292796a2 GP-2921 anaysis options colors are not readable in dark mode 2022-12-08 18:34:42 -05:00
Ryan Kurtz
93d3b41d01 Merge remote-tracking branch
'origin/GP-2913_ghidracadabra_PR-4595_kkaempf_improve_sleigh_error_reporting'
(Closes #4595)
2022-12-08 14:18:51 -05:00