Commit Graph

4850 Commits

Author SHA1 Message Date
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
Ryan Kurtz
55fc27177e Merge remote-tracking branch 'origin/GP-2321_ryanmkurtz_exporter' 2022-12-08 14:14:49 -05:00
Ryan Kurtz
5292ad098a Merge remote-tracking branch 'origin/GP-1945_ghidra1_EliminateBlankComponentNames' 2022-12-08 14:00:40 -05:00
Ryan Kurtz
93df150b21 Merge remote-tracking branch 'origin/patch' 2022-12-08 13:58:37 -05:00
Ryan Kurtz
a861a858bb Merge remote-tracking branch 'origin/GP-2927_SmallNegativeEquates' into
patch (Closes #3747)
2022-12-08 13:54:02 -05:00
Ryan Kurtz
b14804b295 GP-2321: Only exporters that support the current domain object are
presented in list now
2022-12-08 10:04:32 -05:00
ghidra1
6a006ac085 GP-1945 Eliminate use of blank component names (zero-length bitfields) 2022-12-08 09:39:30 -05:00
ghidra1
d377b9642b GP-2897 Allow Diff with another open program within same tool. Modified
OpenVersionedFileDialog to faciltate the program selection.
2022-12-07 17:20:54 -05:00
caheckman
34a4a13812 GP-2927 Creating small negative equates from decompiler window 2022-12-07 16:36:20 -05:00
ghidra1
dcf147150e GP-2611 corrected operand label rename for thunked function 2022-12-07 12:53:04 -05:00
Ryan Kurtz
102d1b7151 Merge remote-tracking branch 'origin/GP-2827_ryanmkurtz_pe-imagebase'
(Closes #2361, Closes #4710)
2022-12-07 11:09:16 -05:00
ghidra1
8affd9c2e7 GP-1004 corrected potential NPE during program close 2022-12-07 11:01:35 -05:00
dragonmacher
9561af8049 Test fixes 2022-12-07 10:18:18 -05:00
Ryan Kurtz
4413dab21d GP-2827: No longer rebasing PE files with large imagebases to 0x10000. 2022-12-07 04:08:03 -05:00
Ryan Kurtz
40ab399387 Merge remote-tracking branch 'origin/GP-2914_ghidragon_listing_snapshots_color_issues--SQUASHED' 2022-12-07 02:09:03 -05:00
Ryan Kurtz
a04f7fbb03 Merge remote-tracking branch 'origin/GP-2845_PartialMerging' 2022-12-07 02:04:02 -05:00
Ryan Kurtz
70489f8f1c Merge remote-tracking branch 'origin/patch' 2022-12-07 02:01:14 -05:00
Ryan Kurtz
9b49843a70 Merge remote-tracking branch 'origin/GP-2859_SymbolsSameVariable' into patch 2022-12-07 01:57:36 -05:00
Ryan Kurtz
1e9a724575 GP-2868: Fixing missing logos 2022-12-07 01:38:41 -05:00
ghidragon
db464c8bb2 GP-2914 fixed issue with snapshot listing colors. Also, cleaned up color usage in FieldFactories 2022-12-06 18:34:40 -05:00
James
93d3808232 GP-2913 addressing code review comments 2022-12-06 21:34:28 +00:00
caheckman
e0a5cf1720 GP-2785 Match up token field bounds checking between compilers 2022-12-06 15:35:23 -05:00
Ryan Kurtz
a5c26f49ca Merge remote-tracking branch 'origin/patch' 2022-12-06 02:10:33 -05:00
ghidra1
982997256e GP-2922 corrected missing diff highlights when switching program tabs 2022-12-05 22:44:03 -05:00
caheckman
722c17f9f2 GP-2845 Merging overlapping variables 2022-12-05 18:54:27 -05:00
Ryan Kurtz
1cdb59e1bb Merge remote-tracking branch 'origin/GP-2868-dragonmacher-cleaner-utility' 2022-12-05 11:27:12 -05:00
dragonmacher
41c2f0bf26 Test fixes 2022-12-05 11:14:59 -05:00
dragonmacher
f091a084c2 GP-2868 - Image Cleanup - Removed unused images; removed duplicate
images; fixed image module dependency issues
2022-12-02 21:38:30 -05:00
ghidra1
91d8510993 Merge remote-tracking branch 'origin/patch' 2022-12-02 14:31:43 -05:00
James
6e6cf6d935 GP-2913 minor adjustments 2022-12-02 19:30:21 +00:00
ghidra1
00a89fa003 Merge remote-tracking branch 'origin/GP-2904_dev747368_dwarf_this_fix_patch' into patch 2022-12-02 14:29:33 -05:00
Klaus Kämpf
23c1b63f55 Improve sleigh compiler error messages
Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
2022-12-02 15:43:55 +00:00
Klaus Kämpf
2758cbb40c Prevent underflow in calc_mask
Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
2022-12-02 15:43:55 +00:00
Ryan Kurtz
e96f223df0 Merge remote-tracking branch
'origin/GP-2908_improvie_table_sorting_performance--SQUASHED'
(Closes #4782)
2022-12-02 01:05:46 -05:00
ghidra1
6fdbc5e917 Merge remote-tracking branch 'origin/patch' 2022-12-01 21:09:01 -05:00
ghidra1
f30b37bc05 GP-0 corrected latent issue in AbstractEditFunctionSignatureDialog 2022-12-01 21:05:12 -05:00
ghidragon
9c4ec3afd1 GP-2908 Improved table sorting performance 2022-12-01 18:46:41 -05:00
dev747368
6bd23497b4 GP-2904 fix DWARF handling of "this" parameters
"this" params were not triggering "this" calling convention when only
the formal params of the function were considered.
2022-11-30 21:38:01 +00:00
Ryan Kurtz
112c4afe52 Merge remote-tracking branch 'origin/GP-2875_ghidragon_split_out_gui_from_generic--SQUASHED' 2022-11-30 13:09:50 -05:00
ghidragon
56fcce1456 GP-2875 Split Generic module into two modules to remove Gui related code from the generic module 2022-11-30 12:33:04 -05:00
Ryan Kurtz
e4dad5c2c3 Merge remote-tracking branch 'origin/GP-2770_ryanmkurtz_OriginalFileExporter--SQUASHED' 2022-11-29 12:38:35 -05:00
Ryan Kurtz
2fbebf42a6 Merge remote-tracking branch 'origin/patch' 2022-11-29 12:35:33 -05:00
Ryan Kurtz
93bbe3b883 GP-2770: Replacing PE and ELF exporters with generic Original File exporter. Changing the BinaryExporter's display name to 'Raw Bytes'. 2022-11-29 00:32:19 -05:00
dev747368
eb507229eb GP-2852 fix svrAdmin when repo name contains a space 2022-11-28 23:38:12 +00:00
KooShnoo
7dffdab528
Also update help source at fid.xml 2022-11-25 12:57:44 -08:00
KooShnoo
43fdd4890a
Update help pages for Function ID to properly reflect the plugin's configuration location in the tool configuration menu 2022-11-24 12:59:36 -08:00
Ryan Kurtz
d93eb7603f Merge remote-tracking branch
'origin/GP-2697_James_decompiler_stack_problems_script' (#4645)
2022-11-23 02:37:26 -05:00
James
7ab05db386 GP-2697 addressing code review comments 2022-11-22 20:34:06 +00:00
ghidra1
f0a8af3e8b Merge branch 'GP-2644_ghidra_LinkedFolders' 2022-11-22 12:53:18 -05:00
ghidra1
5a422c4502 GP-2509 GP-2644 Improved Ghidra URL support. Added support for Ghidra
URL linked files and folders within project.
2022-11-22 12:47:17 -05:00
caheckman
8c2bddffaf GP-2866 early switch failure 2022-11-22 11:16:08 -05:00
James
dbd2098a59 GP-2697 added script to find problematic stack writes 2022-11-22 15:17:31 +00:00
Ryan Kurtz
bff57a01c3 Merge remote-tracking branch 'origin/GP-2867_dev747368_PR-4762_agatti_correct-64bits-ext4-inode-table' 2022-11-22 01:02:42 -05:00
dragonmacher
0eafe44445 Test fixes 2022-11-21 09:54:08 -05:00
Alessandro Gatti
c8208770d6 Apply the fix to the other Ext4 analyzer too. 2022-11-21 07:45:59 +01:00
Alessandro Gatti
e4ba4d62d0 Fix 64 bits Ext4 inode table offset calculation. 2022-11-21 07:37:16 +01:00
Ryan Kurtz
ed5c44335e Merge remote-tracking branch
'origin/GP-2843-dragonmacher-options-veto--SQUASHED'
2022-11-19 03:19:55 -05:00
Ryan Kurtz
2286d6f544 Merge remote-tracking branch 'origin/GP-2828-dragonmacher-table-markers-performance--SQUASHED' 2022-11-19 03:14:35 -05:00
Ryan Kurtz
95c0fa9cc5 Merge remote-tracking branch 'origin/patch' 2022-11-19 03:12:03 -05:00
Ryan Kurtz
88b7734608 Merge remote-tracking branch 'origin/GP-2864_ghidra1_CorrectPDBFuncName' into patch 2022-11-19 03:08:36 -05:00
ghidra1
4e6d2316f7 GP-2864 corrected PDB function definition use by FunctionSymbolApplier 2022-11-18 14:52:02 -05:00
dragonmacher
e3b7d11eea GP-2843 - Update Options Dialog to allow veto exceptions to trigger a dialog for the user and to keep the options dialog open
GP-2843 - Updated options to show the user when an option is vetoed.
2022-11-18 12:29:25 -05:00
dragonmacher
9e08b8c075 GP-2828 - Table marker performance 2022-11-18 12:22:42 -05:00
dragonmacher
93f9e93cd7 GP-2796 - Refactor DockingApplicationLayout to be more generic 2022-11-18 11:57:32 -05:00
Ryan Kurtz
3586062eb4 Merge remote-tracking branch 'origin/GP-2829-dragonmacher-repeat-search-bug' 2022-11-18 01:32:40 -05:00
Ryan Kurtz
ebf0ef3a41 Merge remote-tracking branch 'origin/GP-2814_Dan_guestOpRefsInListing-REBASED-1--SQUASHED' 2022-11-18 01:27:07 -05:00
Ryan Kurtz
970c685df2 Merge remote-tracking branch 'origin/patch' 2022-11-18 01:26:30 -05:00
Ryan Kurtz
02801d161d Merge remote-tracking branch 'origin/GP-2830_PspecSymbolParsing' into patch 2022-11-18 01:20:16 -05:00
caheckman
9424fdf208 GP-2859 Clearing symbols from HighVariable must set symboldirty 2022-11-17 18:35:48 -05:00
Dan
ef6fb310bb GP-2814: Fix translation of address operands for guest instructions. 2022-11-17 08:50:12 -05:00
Ryan Kurtz
85ec38dbea Merge remote-tracking branch 'origin/GP-1501_dev747368_decompiler_switch_analyzer_cancel' 2022-11-17 01:09:28 -05:00
ghidragon
8d6cf5e310 Merge remote-tracking branch 'origin/GP-1_ghidragon_misc_small_theme_bug_fixes' 2022-11-16 14:50:15 -05:00
ghidragon
4763ce6e8a GP-1 Fixed a few minor issues with new theming code 2022-11-16 14:37:23 -05:00
dragonmacher
245c4a39e2 test fixes 2022-11-16 10:52:58 -05:00
Ryan Kurtz
45640e9bc6 GP-0: Removing some unneeded JVM args now that "Inverted Color Mode" is
gone
2022-11-16 08:42:19 -05:00
dragonmacher
72e87f8e2d GP-1981 - Theme Help 2022-11-15 15:09:24 -05:00